cvs commit: fptools/libraries/base/Control Concurrent.hs Exception.hs fptools/libraries/base/Control/Monad ST.hs fptools/libraries/base/Data Array.hs Complex.hs STRef.hs Typeable.hs fptools/libraries/base/Data/Array Base.hs fptools/libraries/base/Data/Generics ...

Simon Peyton Jones simonpj at haskell.org
Wed Feb 2 08:26:21 EST 2005


simonpj     2005/02/02 05:26:21 PST

  Modified files:
    libraries/base/Control Concurrent.hs Exception.hs 
    libraries/base/Control/Monad ST.hs 
    libraries/base/Data  Array.hs Complex.hs STRef.hs Typeable.hs 
    libraries/base/Data/Array Base.hs 
    libraries/base/Data/Generics Instances.hs 
    libraries/base/Foreign ForeignPtr.hs 
    libraries/base/GHC   Conc.lhs IOBase.lhs Weak.lhs 
    libraries/base/System/Mem Weak.hs 
  Log:
  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.
  
  Revision  Changes    Path
  1.33      +1 -1      fptools/libraries/base/Control/Concurrent.hs
  1.38      +0 -7      fptools/libraries/base/Control/Exception.hs
  1.18      +0 -1      fptools/libraries/base/Control/Monad/ST.hs
  1.14      +0 -16     fptools/libraries/base/Data/Array.hs
  1.11      +0 -2      fptools/libraries/base/Data/Complex.hs
  1.13      +0 -5      fptools/libraries/base/Data/STRef.hs
  1.33      +48 -12    fptools/libraries/base/Data/Typeable.hs
  1.23      +0 -5      fptools/libraries/base/Data/Array/Base.hs
  1.6       +10 -0     fptools/libraries/base/Data/Generics/Instances.hs
  1.34      +0 -4      fptools/libraries/base/Foreign/ForeignPtr.hs
  1.36      +3 -13     fptools/libraries/base/GHC/Conc.lhs
  1.48      +28 -2     fptools/libraries/base/GHC/IOBase.lhs
  1.10      +4 -0      fptools/libraries/base/GHC/Weak.lhs
  1.12      +0 -2      fptools/libraries/base/System/Mem/Weak.hs


More information about the Cvs-libraries mailing list