[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:35:22 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:
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Yes, it works fine in HEAD... I checked.

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


More information about the ghc-tickets mailing list