deriving...
Simon Peyton-Jones
simonpj at microsoft.com
Wed Oct 13 09:09:29 EDT 2004
(I assume you mean GHC.)
Don't look at the compiler, look at the user manual. That describes
what's supported. I have no current plans to withdraw any of the
current support.
Simon
| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org
[mailto:glasgow-haskell-users-
| bounces at haskell.org] On Behalf Of MR K P SCHUPKE
| Sent: 13 October 2004 14:06
| To: glasgow-haskell-users at haskell.org
| Subject: deriving...
|
|
| What is the situation with deriving?
|
| Some instances can be derived automatically for both data/newtype
(built in)?
|
| Some instances cen be derived automatically for newtype (any)?
|
| You used to be able to define functions useing {|+|} and {|*|} (or
similar)
| that could be derived for both data and newtype.
|
| What is the current status, which methods are supported, and will be
| supported going forward.
|
| I ask this because looking at the code in the compiler it seems very
| difficault to extend. It would be to specify how to derive new
instances
| once and for all...
|
| Keean.
| _______________________________________________
| 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