Data and Typeable instances

Alistair Bayley alistair at abayley.org
Mon Apr 20 08:09:35 EDT 2009


2009/4/19 Ashley Yakeley <ashley at semantic.org>:
>
> However, this might not be an issue, as I believe all the constructors of
> all or almost all types in time are public. If it is possible for a user of
> time to hand-write instances of Data using only what time exposes, then it
> is safe to include those instances in the package.

I recall trying this some time ago. I think I gave up when I decided
that I also needed Data instances for Data.Fixed. I was probably doing
it wrong, but it was too large a yak for me to shave.

Alistair


More information about the Libraries mailing list