[GHC] #5144: Pattern synonyms

GHC ghc-devs at haskell.org
Thu Aug 22 11:49: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 igloo):

 I haven't followed the design, but I would expect exporting "pattern P" to
 either be an error ("P is a data constructor, not a pattern") or to export
 P in a way that allows it only to be used as a pattern, not an expression.

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




More information about the ghc-tickets mailing list