[Haskell-cafe] do

Henning Thielemann lemming at henning-thielemann.de
Sat Oct 13 17:41:30 EDT 2007


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/


More information about the Haskell-Cafe mailing list