[GHC] #8325: Pattern guards in anonymous functions

GHC ghc-devs at haskell.org
Sat Jan 23 20:31:16 UTC 2016


#8325: Pattern guards in anonymous functions
-------------------------------------+-------------------------------------
        Reporter:  mcollis           |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.6.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #7783, #10807     |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 I'm not very familiar with the implementation of `MultiWayIf`, but having
 `if` introduce layout seems more palatable than having an arbitrary "last
 variable of lambda" do so...

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


More information about the ghc-tickets mailing list