
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, Chad

I've added 'deriving Data' to Complex. (There are probably other missing ones too...let us know.) S | -----Original Message----- | From: glasgow-haskell-users-bounces@haskell.org [mailto:glasgow-haskell-users-bounces@haskell.org] | On Behalf Of Chad Scherrer | Sent: 26 October 2006 19:08 | To: GHC Users | Subject: instance Data (Complex a) | | 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, | Chad | _______________________________________________ | Glasgow-haskell-users mailing list | Glasgow-haskell-users@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
participants (2)
-
Chad Scherrer
-
Simon Peyton-Jones