Typeable<n> classes

Simon Peyton-Jones simonpj at microsoft.com
Sat Jul 21 06:41:00 EDT 2007


No reason in principle.  If anyone wants to add the Typeable classes for 8-15 that'd be fine.

Simon

| -----Original Message-----
| From: libraries-bounces at haskell.org [mailto:libraries-
| bounces at haskell.org] On Behalf Of Matthew Pocock
| Sent: 20 July 2007 16:52
| To: libraries at haskell.org
| Subject: Typeable<n> classes
|
| Hi,
|
| I've been trying to use `deriving (Typeable, Data)' on some datatypes
| with
| arity 8 and 15, but GHC has been complaining. There aren't any
| Typeable<n>
| classes defined in Data.Typeable that go beyond 7.
|
| Is there a reason for this particular limit?
|
| If not, could it be extended further e.g. to 15?
|
| Is this likely to let GHC derive Typeable instances for my data types?
|
|
| Thanks,
|
| Matthew
|
| _______________________________________________
| Libraries mailing list
| Libraries at haskell.org
| http://www.haskell.org/mailman/listinfo/libraries


More information about the Libraries mailing list