#3968: DoRec not supported, but RecursiveDo deprecated
------------------------+---------------------------------------------------
Reporter: m4dc4p | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.12.1 | Keywords:
Os: Windows | Testcase:
Architecture: x86 | Failure: GHC rejects valid program
------------------------+---------------------------------------------------
Comment(by malcolm.wall...@…):
The reason RecursiveDo has been deprecated is because the syntax has
changed. With the new alternative, DoRec, the 'mdo' keyword has been
removed in favour of a new keyword 'rec'. See
http://haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html#mdo-
notation
However, I note that the GHC User Guide still lists the old name for the
language extension (at http://haskell.org/ghc/docs/latest/html/users_guide
/flag-reference.html), and does not list the new name.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3968#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs