[Haskell-cafe] Fwd: extending Do notation
ky3 at atamo.com
Wed May 21 04:02:35 UTC 2014
On Wed, May 21, 2014 at 2:17 AM, Donn Cave <donn at avvanta.com> wrote:
> The multi-way-if that appears in the trac discussion is apparently,
> supported but it's a mystery to me if this has anything to do with
Good catch: there's no lambda-if, only multiway-if. Which isn't the same.
Lambda-if might look something like this:
checkCondition >>= \if
Compare to the originally proposed:
if <- checkCondition
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe