[GHC] #15905: Data familes should end in Type

GHC ghc-devs at haskell.org
Mon Nov 19 21:51:49 UTC 2018


#15905: Data familes should end in Type
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.3
       Component:  Compiler          |              Version:  8.6.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #14645            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Ah yes. Not quite a duplicate of #14420, but it would nail #14420 inter
 alia.

 In particular, the description of #14420 says (a bit impreciseely) "We
 should require that any instantiation of a data family be to a kind that
 ends in Type."

 My proposal in this ticket would make that true automatically, because
 data family kinds would always end in Type, and hence a fortiori so would
 their instantiations.

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


More information about the ghc-tickets mailing list