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

GHC cvs-ghc at haskell.org
Wed Oct 6 04:27:28 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 simonpj):

 There is a lot of traffic about this on Haskell Cafe http://www.mail-
 archive.com/haskell-cafe at haskell.org/index.html#82264.  There seems to be
 enthusiasm, but also plenty of discussion of variants and alternatives.

 My own gut feel is that it's a lot better to have an initial symbol to say
 "here comes a function". So I'm keener on the multi-clause lambda idea, if
 someone can devise a syntax that works.  GHC's internals assume a multi-
 clause lambda anyway, so it's more or less just a syntactic issue.

 Simon

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


More information about the Glasgow-haskell-bugs mailing list