#5277: Clash between RankNTypes and TypeFamilies
----------------------------------------+-----------------------------------
Reporter: stefan | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.0.3
Resolution: invalid | Keywords: rank-n types, type
families, type signatures
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: GHC rejects valid program |
----------------------------------------+-----------------------------------
Comment(by stefan):
I have to admit that from reading the FAQ, I probably wouldn't have
figured out leaving out the type signature would help here.
I guess the part that I am missing is: why does the compiler pick the
"right" equality constraint if the signature is absent.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5277#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs