Doesn't mdo still work? With -XRecursiveDo? It's deprecated, but works fine I think. The whole deprecated thing is to allow old programs to continue to work.
Simon | -----Original Message----- | From: glasgow-haskell-bugs-boun...@haskell.org [mailto:glasgow-haskell-bugs- | boun...@haskell.org] On Behalf Of Iavor Diatchki | Sent: 04 January 2010 03:37 | To: glasgow-haskell-bugs@haskell.org | Subject: Re: [GHC] #2798: Enable "rec" keyword when RecursiveDo is enabled? | | Hello, | so with these changes, what is the preferred way to write recursive | monadic code that will work on GHC < 6.12.1, GHC >= 6.12.1, and Hugs? | I guess, one could always fall back to just using "mfix" directly but | this seems unfortunate. | -Iavor | | | | On Sun, Jan 3, 2010 at 5:23 AM, GHC <t...@galois.com> wrote: | > #2798: Enable "rec" keyword when RecursiveDo is enabled? | > ---------------------------+------------------------------------------------ | > Reporter: nominolo | Owner: igloo | > Type: task | Status: closed | > Priority: high | Milestone: 6.14.1 | > Component: Compiler | Version: 6.11 | > Resolution: fixed | Keywords: | > Difficulty: Unknown | Os: Unknown/Multiple | > Testcase: | Architecture: Unknown/Multiple | > Failure: None/Unknown | | > ---------------------------+------------------------------------------------ | > Changes (by igloo): | > | > * status: new => closed | > * failure: => None/Unknown | > * resolution: => fixed | > | > Comment: | > | > It was done for 6.12.1 after all. `RecursiveDo` is deprecated in favour of | > `DoRec`. | > | > -- | > Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2798#comment:13> | > GHC <http://www.haskell.org/ghc/> | > The Glasgow Haskell Compiler | > _______________________________________________ | > Glasgow-haskell-bugs mailing list | > Glasgow-haskell-bugs@haskell.org | > http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs | > | > | _______________________________________________ | Glasgow-haskell-bugs mailing list | Glasgow-haskell-bugs@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs