
8 Oct
2009
8 Oct
'09
1:18 p.m.
On Thu, Oct 8, 2009 at 2:07 PM, Ross Mellgren
there is at least one ticket in Haskell' to fix it for if/then/else
...and there isn't one for let/in because you can use just let (without in) inside a do-block. Of course the meanings are different as in the first case the let-bound variables scope only the 'in ...' part, while without in it scopes the rest of the do block: do {ini; let ... in ...; rest} => ini >> (let ... in ...) >> rest do {ini; let ...; ...; rest} => ini >> (let ... in (... >> rest)) HTH, -- Felipe.