[GHC] #12432: Use kind equality in instance context in type family instance

GHC ghc-devs at haskell.org
Fri Aug 12 16:37:00 UTC 2016


#12432: Use kind equality in instance context in type family instance
-------------------------------------+-------------------------------------
        Reporter:  j6carey           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.0.1
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by kosmikus):

 Haven't checked the attached test cases in detail, but from the
 description and discussion it sounds as if the original issue is #12381,
 which is fixed in HEAD. And the subsequent issue seems to be #12384, which
 is not fixed and seems to be difficult to fix.

 I ran into both of those issues when I tried to write a type-level
 translation of the new type-level generic metadata that GHC 8 provides
 into a different representation of type-level metadata that would be
 useful for generics-sop (and makes use of a type-level GADT and therefore
 TypeInType).

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


More information about the ghc-tickets mailing list