I don't believe it's allowed by Haskell 98. There's also a whole bunch
of "newtype" deriving that I'd like to do, but can't for the same
reason.

-- Ashley

On Mon, 2009-04-27 at 17:29 +0200, Christian Maeder wrote:
> I was only surprised by the patch below.
> Isn't "deriving Typeable" much easier and safer?
> 
> Cheers Christian
> 
> 
> Ashley Yakeley wrote:
> > Sun Apr 26 17:48:05 PDT 2009  Ashley Yakeley <[email protected]>
> >   * Typeable instances for all types
> >   Ignore-this: 48421f072110ddf70b09bd4c030af863
> > 
> >     M ./Data/Time/Calendar/Days.hs +4
> >     M ./Data/Time/Clock/Scale.hs +7
> >     M ./Data/Time/Clock/TAI.hs +4
> >     M ./Data/Time/Clock/UTC.hs +7
> >     M ./Data/Time/LocalTime/LocalTime.hs +7
> >     M ./Data/Time/LocalTime/TimeOfDay.hs +4
> >     M ./Data/Time/LocalTime/TimeZone.hs +4
> > 
> > View patch online:
> > http://darcs.haskell.org/packages/time/_darcs/patches/20090427004805-ac6dd-4cf4de606d27096343156c687b2a37991e055312.gz
> 

_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to