[GHC] #4359: Implement lambda-case/lambda-if

GHC cvs-ghc at haskell.org
Thu Jun 30 13:17:26 CEST 2011


#4359: Implement lambda-case/lambda-if
---------------------------------+------------------------------------------
    Reporter:  batterseapower    |        Owner:  igloo       
        Type:  feature request   |       Status:  patch       
    Priority:  high              |    Milestone:  7.4.1       
   Component:  Compiler          |      Version:  7.1         
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonpj):

 Concerning (1) I don't understand. If you don't put a curly brace,
 everything would happen just like now... so `mask` would be fine.

 Concerning (2), yes, I am suggesting that this feature is only accessible
 using explicit layout.  It's not perfect, but the alternatives seem worse
 to me.

 Does anyone else have other ''concrete'' proposals?  If so, let's hear
 them.

 The default alternative is to do nothing.

 Simon

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



More information about the Glasgow-haskell-bugs mailing list