
#12680: Permit type equality instances in signatures -------------------------------------+------------------------------------- Reporter: ezyang | Owner: Type: feature request | Status: new Priority: low | Milestone: Component: Compiler (Type | Version: 8.1 checker) | Resolution: | Keywords: backpack Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by goldfire): Replying to [comment:6 ezyang]:
OK, that looks like a straight up soundness bug. I'll fix it.
Well, I guess what I meant was, what is a situation where you would like
Fix what? I like the current behavior of the hs-boot file, because all `data`-types really are injective. Or do you mean fix what's used in a signature? this? The `Nat` one (comment:3) is a great starting point. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12680#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler