
#13115: missing data instances for IntPtr and WordPtr in base -------------------------------------+------------------------------------- Reporter: carter | Owner: sighingnow Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: newcomer 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 bgamari): I actually don't know that you need `GeneralizedNewtypeDeriving` here. The usual `DeriveDataTypeable` should do just fine I believe. Otherwise, yes. It looks like you have the right idea. Do make sure to add `@since` annotations in the Haddock documentation for the new instances. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13115#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler