[GHC] #15557: Reduce type families in equations' RHS when testing equation compatibility

GHC ghc-devs at haskell.org
Tue Aug 28 13:30:12 UTC 2018


#15557: Reduce type families in equations' RHS when testing equation compatibility
-------------------------------------+-------------------------------------
        Reporter:  mniip             |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler (Type    |              Version:  8.4.3
  checker)                           |
      Resolution:                    |             Keywords:  TypeFamilies
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #8423 #15546      |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 I agree with the PS in comment:6. I see this as a pure feature request,
 not a bug. The behavior in comment:1 is consistent with the design of
 closed type families in the paper and the manual.

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


More information about the ghc-tickets mailing list