[GHC] #9667: Type inference is weaker for GADT than analogous Data Family

GHC ghc-devs at haskell.org
Sun Oct 5 00:55:06 UTC 2014


#9667: Type inference is weaker for GADT than analogous Data Family
-------------------------------------+-------------------------------------
              Reporter:  carter      |            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:  GHC         |
  rejects valid program              |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by carter):

 basically I want something that has the closed-ness of a GADT, and the
 inferency goodness of a data family. Whether this is a new thing or a
 "special stronger case of gadt", is another matter i'm happy to try to
 help someone figure out.

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


More information about the ghc-tickets mailing list