
#14061: `instance Eq Dyn` -------------------------------------+------------------------------------- Reporter: zaoqi | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: 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 AntC): Repeat of ticket #14004. The answer is already posted there. You can't make `instance Eq Dyn` with that definition for `Dyn`. But there are two suggestions for different approaches. This is not a bug; not a feature request. @zaoqi please do not use Trac as a help forum: use StackOverflow or reddit or haskell cafe. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14061#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler