The base library and GHC 6.10

Simon Peyton-Jones simonpj at
Thu Aug 28 08:19:30 EDT 2008

| > Is there a way not to have the Data class in base while still preserving the
| > deriving mechanism?
| Yes, you can still have "deriving Data" if the class is in the syb
| package.

If you were to change the methods in Data, the deriving stuff would have to change too.
That is true but I agree with Neil: Data and Typeable are the basic foundation on which we may build a variety of reflection/introspection libraries, SYB among them.

More information about the Libraries mailing list