
#9111: base should export Typeable instances of its promoted data constructors -------------------------------------+------------------------------------ Reporter: goldfire | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by goldfire): My original report was intended to suggest instances for all promotable types in base/ghc-prim that export `Typeable` instances for the unpromoted types, like `[]`, `Bool`, `Maybe`, `Either`, `Ordering`, tuples, etc. While we're at it, we should probably export `Typeable` instances for ''classes'', too, like `Eq` and `Monad`, among many others. If no one sees a downside to adding these instances, I can submit a patch yes. For the problem reported in the first comment -- about a `Typeable` instance for `Symbol`s (and presumably `Nat`s) -- the implementation technique is somewhat different and might best be something for Iavor. [http://www.haskell.org/pipermail/haskell-cafe/2013-August/109993.html This message] from August 2013 suggests that he is on it, but I don't know if there has been progress since then. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9111#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler