[GHC] #2798: Enable "rec" keyword when RecursiveDo is enabled?
Simon Peyton-Jones
simonpj at microsoft.com
Mon Jan 4 03:43:19 EST 2010
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-bounces at haskell.org [mailto:glasgow-haskell-bugs-
| bounces at haskell.org] On Behalf Of Iavor Diatchki
| Sent: 04 January 2010 03:37
| To: glasgow-haskell-bugs at 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 <trac at 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 at haskell.org
| > http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
| >
| >
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
More information about the Glasgow-haskell-bugs
mailing list