[GHC] #3968: DoRec not supported, but RecursiveDo deprecated
GHC
cvs-ghc at haskell.org
Sat Apr 10 15:33:16 EDT 2010
#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.wallace@…):
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
More information about the Glasgow-haskell-bugs
mailing list