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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to