[project @ 2005-02-02 13:26:13 by simonpj]
authorsimonpj <unknown>
Wed, 2 Feb 2005 13:26:20 +0000 (13:26 +0000)
committersimonpj <unknown>
Wed, 2 Feb 2005 13:26:20 +0000 (13:26 +0000)
commit7316246c1797d46f5757ae156486f09b3db083d9
tree8b4528e89490e8224e0beddfc5551895ec5aed41
parent2436086e76439e5e71bd2960b53cd9099d69cd0c
[project @ 2005-02-02 13:26:13 by simonpj]
I've moved Typeable instances so that they are
either in the module that defines the type
or in the Typeable module (which defines the class)

GHC dislikes "orphan" instances, and even for humans
this makes it easier to find.

I have continued to use the INSTANCE_TYPEABLE macros,
rather than GHC's deriving( Typeable ) mechanism, so
that it'll still work for Hugs and NHC.  Nevertheless,
I may well have missed some Hugs- or NHC-specific imports,
for which I apologise.  Malcolm, Ross you may want to try
a fresh build.
14 files changed:
Control/Concurrent.hs
Control/Exception.hs
Control/Monad/ST.hs
Data/Array.hs
Data/Array/Base.hs
Data/Complex.hs
Data/Generics/Instances.hs
Data/STRef.hs
Data/Typeable.hs
Foreign/ForeignPtr.hs
GHC/Conc.lhs
GHC/IOBase.lhs
GHC/Weak.lhs
System/Mem/Weak.hs