[commit: base] master: For GHC, implement the Typeable.hs macros using standalone deriving (4475dca)

Ian Lynagh igloo at earth.li
Sun Apr 24 21:19:54 CEST 2011


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/4475dcabbc206d1cf0fc3fee88f600a4791d948c

>---------------------------------------------------------------

commit 4475dcabbc206d1cf0fc3fee88f600a4791d948c
Author: Ian Lynagh <igloo at earth.li>
Date:   Sun Apr 24 19:16:52 2011 +0100

    For GHC, implement the Typeable.hs macros using standalone deriving
    
    As well as being more pleasant, this fixes #1841:
        Data.Typeable: Instances of basic types don't provide qualified
        strings to mkTyCon

 Control/Concurrent/Chan.hs      |    3 ++
 Control/Concurrent/QSem.hs      |    3 ++
 Control/Concurrent/QSemN.hs     |    3 ++
 Control/Concurrent/SampleVar.hs |    3 ++
 Control/Exception/Base.hs       |    3 ++
 Control/OldException.hs         |    3 ++
 Data/Complex.hs                 |    3 ++
 Data/Dynamic.hs                 |    3 ++
 Data/Either.hs                  |    3 ++
 Data/Typeable.hs                |   32 +++++++++++++++++++++++-
 Foreign/C/Types.hs              |    5 +++-
 Foreign/Ptr.hs                  |    3 ++
 GHC/Conc/Sync.lhs               |    1 +
 GHC/ForeignPtr.hs               |    1 +
 GHC/Weak.lhs                    |    2 +
 System/Mem/StableName.hs        |    1 +
 System/Posix/Types.hs           |    3 ++
 System/Timeout.hs               |    3 ++
 include/Typeable.h              |   52 +++++++++-----------------------------
 19 files changed, 89 insertions(+), 41 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 4475dcabbc206d1cf0fc3fee88f600a4791d948c



More information about the Cvs-libraries mailing list