Content deleted Content added
m added header in order to move contents to the top. |
Editorial wish-list |
||
Line 92:
I agree too. I'm trying to completely grasp continuations as monads so I can add them to this. In the papers I've looked at thus far, most of them use Haskell. It'd probably be best to keep the explanation here as is, but move some of the Haskell-centric stuff (like the do-notation stuff) to another page --[[User:NotQuiteEXPComplete|NotQuiteEXPComplete]] 12:25, 3 August 2006 (UTC)
== Editorial wish-list ==
I wish there was a way to include comments right in the article on Wikipedia, but we don't have that, so I'll try to explain where I want changes. My comments refere to the version as of http://en.wikipedia.org/w/index.php?title=Monads_in_functional_programming&oldid=84889989
Section Motivation: the first code example: I think this is Haskell code, but it's not apparent that it really is. Please be explicit about that. "par" is a bad function name; it isn't obvious that it has anything to do with parallel connection of resistors. Better to call it foo, or something.
The syntax of the two lines of code is not obvious. The meanings of :: and -> are non-obvious.
Second code example:
Is ... a part of the code? The meaning of :: and -> are again non-obvious.
In an electrical engineering program, I'd like to use // as an operator means 1(1/x + 1/y), i.e., parallel connection, since the operator consists of two parallel lines. Therefore it's a bad choice for the meaning here; a new form of division.
The last sentence of the code example suggest that the example is wrong. Is it?
Section Definition: Shouldn't this be a definition of monads in functional programming, rather than monads in Haskell?
What does | (vertical bar) mean?
Are the words "data", "Just", "Nothing", parts of the Haskell language?
Is the character <code>≡</code> a part of the Haskell language?
Section Failure:
Is the word "mzero" a part of the Haskell language, or of functional programming vocabulary?
The Maybe monad example: What does "'", "in" and "let" mean?
The rest of the article is left for a later time.
|