RE: instance Data (Complex a)

2006-11-01 Thread Simon Peyton-Jones
I've added 'deriving Data' to Complex. (There are probably other missing ones too...let us know.) S | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] | On Behalf Of Chad Scherrer | Sent: 26 October 2006 19:08 | To: GHC Users | Subject: instance Data (Complex

instance Data (Complex a)

2006-10-26 Thread Chad Scherrer
I was playing around with the Data.Generics stuff, and I'm getting an error that says No instance for (Data (Complex Double)) Looking at the source for Data.Complex, I see it is an instance of Typeable, but not of Data. Is there a reason not to add deriving Data on the end of this? Thanks,