[GHC] #10805: Could not deduce (a ~ b) implies (f a ~ f b), because a type function may not be injective

GHC ghc-devs at haskell.org
Fri Aug 28 16:33:23 UTC 2015


#10805: Could not deduce (a ~ b) implies (f a ~ f b), because a type function may
not be injective
-------------------------------------+-------------------------------------
        Reporter:  htebalaka         |                   Owner:
            Type:  bug               |                  Status:  closed
        Priority:  normal            |               Milestone:
       Component:  Compiler (Type    |                 Version:  7.10.2
  checker)                           |
      Resolution:  fixed             |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by htebalaka):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 I found https://ghc.haskell.org/trac/ghc/ticket/10742, which appears to be
 the same thing and is fixed in HEAD, so I'm closing

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


More information about the ghc-tickets mailing list