[Haskell-cafe] Couple of questions about *let* within *do*
Alex Stangl
alex at stangl.us
Tue Aug 10 14:21:22 EDT 2010
On Tue, Aug 10, 2010 at 11:01:28AM -0700, michael rice wrote:
> Hi all,
>
> Then,
>
> do s1
> s2
> let x1 = e1
> x2 = e2
> s3
> s4
> let x3 = e3
> x4 = e4
> s5
> s6
>
> becomes
>
> do s1
> s2
> let x1 = e1
> x2 = e2 in do s3
> s4
> let x3 = e3
> x4 = e4 in do s5
> s6?
do s1
s2
let x1 = e1
x2 = e2
in do s3
s4
let x3 = e3
x4 = e4
in do s5
s6
HTH,
Alex
More information about the Haskell-Cafe
mailing list