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

GHC cvs-ghc at haskell.org
Tue Oct 5 08:26:01 EDT 2010


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

Comment(by simonmar):

 +1 for lambda-case and lambda-if.

 In a similar vein, I'd like to have [http://hackage.haskell.org/trac
 /haskell-prime/wiki/MultiWayIf multi-way if]:

 {{{
 case | x < y     -> ...
      | x == y    -> ...
      | otherwise -> ...
 }}}

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


More information about the Glasgow-haskell-bugs mailing list