[Haskell-cafe] do
Denis Bueno
dbueno at gmail.com
Mon Dec 3 09:00:15 EST 2007
On Dec 3, 2007 6:55 AM, PR Stanley <prstanley at ntlworld.com> wrote:
> Hi
> I've probably asked about the do construct, if that's the right
> label. Unfortunately I'm still not quite sure of its role and more
> specifically its syntax. Something to do with generators perhaps? A
> description plus some examples would be most gratefully received.
Probably one should understand how to use monads before worrying about
the do-notation. Here are some references:
http://haskell.org/haskellwiki/Books_and_tutorials#Using_monads
http://en.wikibooks.org/wiki/Haskell/Understanding_monads
Section 2.5 of http://haskell.org/haskellwiki/Learning_Haskell
Hope this helps.
--
Denis
More information about the Haskell-Cafe
mailing list