Hi Gregory,
First post. I'm a newbie, been using Haskell for about a week and
love it. Anyway, this is something I don't understand. Parsers are
monadic. I can see this if the parser is reading from an input stream
but if there's just a block of text can't you just have the parser
call
On Thu, 17 May 2007, Jason Dagit wrote:
Well, it seems to me that Haskell modules are actually very similar to
singletons. Perhaps all these problems with modules having top level
mutable state could be solved if Haskell modules were parameterizable
at instantiation? I'm not saying we should
Hi Vikrant,
The other two have said basically the same thing as me, but your
description of map's type makes me think maybe an explanation of
curried functions is in order:
map is what's called a curried function. Basically, the type:
(a - b) - [a] - [b]
has two interpretations. The