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

GHC cvs-ghc at haskell.org
Fri Jul 13 09:58:10 CEST 2012


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

Comment(by simonpj):

 Concerning arrows, I do agree that (`proc case` ''alts'') as syntactic
 sugar for (`prox x -> case x of` ''alts'') would be consistent.  I don't
 know the arrow equivalent of multi-branch if would look like.  Want to
 flesh it out?

 '''However''' I am deeply reluctant to fiddle with the arrow code at all;
 there's a long-standing plan to refactor the arrow-handling code which is
 currently complex and crufy. If anyone arrow-keen person is willing to
 undertake this, I am happy to help.  The ticket is #7071.

 Simon

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



More information about the Glasgow-haskell-bugs mailing list