haskell-cafe@haskell.org
[Top] [All Lists]

Re: [Haskell-cafe] do

Subject: Re: [Haskell-cafe] do
From: "Denis Bueno"
Date: Mon, 3 Dec 2007 09:00:15 -0500
On Dec 3, 2007 6:55 AM, PR Stanley <prstanley@xxxxxxxxxxxx> 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@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>