[Haskell-cafe] do

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


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


More information about the Haskell-Cafe mailing list