[GHC] #5144: Pattern synonyms

GHC ghc-devs at haskell.org
Thu Aug 22 12:25:00 UTC 2013


#5144: Pattern synonyms
-------------------------------------+------------------------------------
        Reporter:  simonpj           |            Owner:  cactus
            Type:  feature request   |           Status:  new
        Priority:  normal            |        Milestone:  _|_
       Component:  Compiler          |          Version:
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by cactus):

 Interestingly, Lennart's initial proposal
 (http://ghc.haskell.org/trac/ghc/wiki/PatternSynonyms?version=2) already
 used different notation for pattern-only synonyms:

 {{{
 pattern conid varid1 ... varidn ~ pat
 }}}

 How about using thiss syntax?

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




More information about the ghc-tickets mailing list