[GHC] #12680: Permit type equality instances in signatures

GHC ghc-devs at haskell.org
Fri Feb 10 08:58:16 UTC 2017


#12680: Permit type equality instances in signatures
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  low               |            Milestone:
       Component:  Compiler (Type    |              Version:  8.1
  checker)                           |
      Resolution:                    |             Keywords:  backpack
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 ezyang):

 Maybe this proposal cannot be made to work: GHC doesn't accept type
 families in instance heads (for fairly good reasons). If that's the case,
 is there really anything interesting one can do with this extension?

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


More information about the ghc-tickets mailing list