[Haskell-cafe] Externally derive instance of Data?
José Pedro Magalhães
jpm at cs.uu.nl
Fri Sep 11 10:53:03 EDT 2009
I think what you want is stand-alone deriving:
On Fri, Sep 11, 2009 at 16:29, Dimitry Golubovsky <golubovsky at gmail.com>wrote:
> 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?
> Dimitry Golubovsky
> Anywhere on the Web
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe