[GHC] #6018: Injective type families

GHC ghc-devs at haskell.org
Fri May 30 20:13:46 UTC 2014


#6018: Injective type families
-------------------------------+-------------------------------------------
        Reporter:  lunaris     |            Owner:  simonpj
            Type:  feature     |           Status:  new
  request                      |        Milestone:  7.10.1
        Priority:  normal      |          Version:  7.4.1
       Component:  Compiler    |         Keywords:  TypeFamilies, Injective
      Resolution:              |     Architecture:  Unknown/Multiple
Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple             |       Blocked By:
 Type of failure:              |  Related Tickets:  #4259
  None/Unknown                 |
       Test Case:              |
        Blocking:              |
-------------------------------+-------------------------------------------

Comment (by acowley):

 My intended uses seem to arise quite often, but I've not found one that
 boils down into a small, self-contained, compelling example. In broad
 terms, I would like to use type families for decoupling, as hpacheco
 describes, and to do things like move back and forth between a set of
 distinct types and singleton Nats.

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


More information about the ghc-tickets mailing list