instance Data (Complex a)
Simon Peyton-Jones
simonpj at microsoft.com
Wed Nov 1 05:21:57 EST 2006
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 at haskell.org
[mailto:glasgow-haskell-users-bounces at 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 at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
More information about the Glasgow-haskell-users
mailing list