Update on GHC 6.12.1

Albert Y. C. Lai trebla at vex.net
Wed Nov 4 21:15:05 EST 2009


scooter.phd at gmail.com wrote:
> Is there a good motivating example for recursive do? So far, I haven't grokked the various use cases, which are pretty terse. Maybe the syntax sugar gets in the way (dangling lets are a good case in point).

There are some examples in
http://www.haskell.org/haskellwiki/MonadFix
In these examples I write both mdo versions and mfix versions.

There are also some examples in the papers listed in
http://www.haskell.org/haskellwiki/Research_papers/Monads_and_arrows#Recursion


More information about the Glasgow-haskell-users mailing list