[GHC] #9953: Pattern synonyms don't work with GADTs

GHC ghc-devs at haskell.org
Fri Jan 9 12:50:10 UTC 2015


#9953: Pattern synonyms don't work with GADTs
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                   Owner:  cactus
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.10.1
       Component:  Compiler (Type    |                 Version:  7.10.1-rc1
  checker)                           |                Keywords:
      Resolution:                    |  PatternSynonyms
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Correct.  The original ticket description says "Without fixing it, GADT-
 style pattern signatures are all but useless", and the conclusion of the
 discussion is that we can't use GADT-style pattern signatures!

 So yes, all that remains is to review the user manual to ensure that it
 makes this point explicit.  I don't think we need any implementation
 changes.  (Contrary to my initial supposition.)

 Simon

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


More information about the ghc-tickets mailing list