[Haskell-cafe] List comprehension desugaring

Neil Mitchell ndmitchell at gmail.com
Sun Aug 19 06:54:03 EDT 2007


Hi,

The Haskell desugaring for list comprehensions is given in:

http://haskell.org/onlinereport/exps.html#list-comprehensions

All the rules seem to be left to right rewrites, apart from the second
one, which seems to be right to left. Is there some deep reason for
this, or is this accidental.

Thanks

Neil


More information about the Haskell-Cafe mailing list