instance Data (Complex a)

Chad Scherrer chad.scherrer at gmail.com
Thu Oct 26 14:07:41 EDT 2006


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


More information about the Glasgow-haskell-users mailing list