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

GHC ghc-devs at haskell.org
Fri Aug 24 16:52:49 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 mniip):

 Yes, of course, being unable to unify `a ~ Test a a` is a more "severe"
 way to put it, but the fact that it doesn't reduce in `:t` is a more quick
 test.

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


More information about the ghc-tickets mailing list