[GHC] #12428: Allow pattern synonyms to optionally carry coerceability

GHC ghc-devs at haskell.org
Thu Aug 11 15:14:41 UTC 2016


#12428: Allow pattern synonyms to optionally carry coerceability
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 Replying to [comment:6 simonpj]:
 > Also there's a problem with
 > {{{
 > pattern Foo a = Foo (Bar a)
 > }}}
 > because it looks recursive.

 That was just a mistake. Rename the new constructor `NewFoo` or something.

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


More information about the ghc-tickets mailing list