[GHC] #4148: improve new recursive do syntax

GHC cvs-ghc at haskell.org
Thu Jun 7 10:15:23 CEST 2012


#4148: improve new recursive do syntax
---------------------------------+------------------------------------------
    Reporter:  guest             |       Owner:                  
        Type:  feature request   |      Status:  new             
    Priority:  low               |   Milestone:  7.6.1           
   Component:  Compiler          |     Version:  6.12.3          
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by simonpj):

 Levent, you said:

 > However, to put things in perspective, removal of `mdo` isn't really
 going to impact a lot of folks. Those who need it can clearly work around
 the issues. So, maybe Ross has the right wisdom in suggesting to go with
 maximal simplicity.

 That sounds like (C) or (D).  But now you say (B) which is what I thought
 you wanted.  Fine!

 I don't care much whether or not `rec` is rejected inside `mdo`.  I don't
 see a compelling reason for doing so, and it's more work.

 Would you like to implement it?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4148#comment:21>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list