[GHC] #9671: Allow expressions in patterns

GHC ghc-devs at haskell.org
Tue Nov 4 10:49:52 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):

 > The implementation is a straightforward desugaring into pattern synonyms
 and view patterns

 That's how I started the work on pattern synonyms in the first place...
 spoiler alert: it never is :)

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


More information about the ghc-tickets mailing list