[Haskell-cafe] Re: Parse error

Bulat Ziganshin bulat.ziganshin at gmail.com
Sun Jan 17 09:46:58 EST 2010

Hello VoidPrayer,

Sunday, January 17, 2010, 5:32:55 PM, you wrote:

> By the way, is it only valid when "let" only affects the one expression after
> that? I read "where vs let" in the HaskellWiki but all the examples are "let
> ... in".

the "let" inside "do" is just a syntax sugar:

do xxx
   let yyy

is equivalent to

do xxx
   let yyy in do zzz; ttt

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list