
5 Nov
2009
5 Nov
'09
2:15 a.m.
scooter.phd@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#Recursi...