[Haskell-cafe] Externally derive instance of Data?
golubovsky at gmail.com
Fri Sep 11 10:29:50 EDT 2009
Given a datatype defined somewhere in a third-party package, without
deriving (Data) specified.
Is it possible, in my module which is importing that datatype from
that package, to auto-derive instance of Data for the said datatype?
The goal is not to recompile the package just because an auto-derived
instance is needed.
Or no way other than to recompile the package?
Anywhere on the Web
More information about the Haskell-Cafe