#2798: Enable "rec" keyword when RecursiveDo is enabled?
---------------------------------+------------------------------------------
Reporter: nominolo | Owner:
Type: task | Status: new
Priority: high | Milestone: 6.12.1
Component: Compiler | Version: 6.11
Severity: minor | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by isaacdupree):
so if you want your code to compile on pre-6.12 you can:
- just use `mdo`
- use `rec` and enable `Arrows` also (I guess this hack could be, but
shouldn't be, sanctioned by Cabal.. among other things, Arrows also
introduces `proc` as a keyword, so it's not harmless)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2798#comment:9>
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