On Sat, 13 Oct 2007, Henning Thielemann wrote:
On Sat, 13 Oct 2007, PR Stanley wrote:
Hi
"do", what's its role?
I know a few uses for it but can't quite understand the semantics - e.g. do
putStrLn "bla bla"
So, what does do, do?
It's syntactic sugar.
http://www.haskell.org/onlinereport/exps.html#sect3.14
http://syntaxfree.wordpress.com/2006/12/12/do-notation-considered-harmful/
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe