On 25-Apr-2000, Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> wrote:
> Which meaning of deriving Show would you choose? If the first, then
> the new rule becomes "any class can be derived for newtypes giving
> such-and-such effect, except Show and Read which are processed as in
> Haskell98". If the second, the old rule has to be changed to include
> "among Haskell98's derivable classes, Show and Read apply only to data,
> not to newtype".

I would recommend choosing the first.

One reason for this is that defining the second behaviour manually
is easier than defining the first behaviour manually.
        
-- 
Fergus Henderson <[EMAIL PROTECTED]>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger [EMAIL PROTECTED]        |     -- the last words of T. S. Garp.

Reply via email to