[GHC] #9840: Permit empty closed type families

GHC ghc-devs at haskell.org
Thu Nov 27 14:26:22 UTC 2014


#9840: Permit empty closed type families
-------------------------------------+-------------------------------------
              Reporter:  adamgundry  |            Owner:
                  Type:  feature     |           Status:  new
  request                            |        Milestone:
              Priority:  normal      |          Version:  7.8.3
             Component:  Compiler    |         Keywords:
  (Type checker)                     |     Architecture:  Unknown/Multiple
            Resolution:              |       Difficulty:  Unknown
      Operating System:              |       Blocked By:
  Unknown/Multiple                   |  Related Tickets:
       Type of failure:              |
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 But you also want them to be non injective?  Otherwise you could say
 {{{
 data Plus a b
 }}}

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


More information about the ghc-tickets mailing list