[GHC] #9671: Allow expressions in patterns

GHC ghc-devs at haskell.org
Tue Nov 4 10:51:40 UTC 2014


#9671: Allow expressions in patterns
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:
  Iceland_jack                       |           Status:  new
                  Type:  feature     |        Milestone:  7.10.1
  request                            |          Version:
              Priority:  normal      |         Keywords:  patterns, pattern
             Component:  Compiler    |  synonyms
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by cactus):

 +1 to SPJ on distinguishing ''pat'' and ''expr'' arguments. In fact, I
 think they should be distinguished even when introducing them as formal
 arguments.

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


More information about the ghc-tickets mailing list