On Dec 3, 2007 6:55 AM, PR Stanley <[EMAIL PROTECTED]> 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 _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe