[commit: ghc] master: base: drop redundant Typeable derivings (47b5b5c)

git at git.haskell.org git at git.haskell.org
Sat Mar 7 19:45:54 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/47b5b5c2b2c92ba091313c36489588edadceaa9d/ghc

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

commit 47b5b5c2b2c92ba091313c36489588edadceaa9d
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Mar 7 20:42:21 2015 +0100

    base: drop redundant Typeable derivings
    
    Thanks to #9858 `Typeable` doesn't need to be explicitly derived anymore.
    This also makes `AutoDeriveTypeable` redundant, as well as some imports of
    `Typeable` (removal of whose may be beneficial to #9707). This commit
    removes several such now redundant use-sites in `base`.
    
    Reviewed By: austin, ekmett
    
    Differential Revision: https://phabricator.haskell.org/D712


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

47b5b5c2b2c92ba091313c36489588edadceaa9d
 libraries/base/Control/Applicative.hs      |  1 -
 libraries/base/Control/Concurrent/Chan.hs  |  5 ++---
 libraries/base/Control/Concurrent/QSem.hs  |  2 +-
 libraries/base/Control/Concurrent/QSemN.hs |  4 +---
 libraries/base/Control/Exception/Base.hs   | 17 ++++++++---------
 libraries/base/Data/Complex.hs             |  5 ++---
 libraries/base/Data/Data.hs                |  2 +-
 libraries/base/Data/Dynamic.hs             |  3 +--
 libraries/base/Data/Either.hs              |  5 ++---
 libraries/base/Data/Fixed.hs               |  1 -
 libraries/base/Data/Functor/Identity.hs    |  2 +-
 libraries/base/Data/Monoid.hs              |  1 -
 libraries/base/Data/Typeable/Internal.hs   |  1 -
 libraries/base/Data/Unique.hs              |  5 ++---
 libraries/base/Data/Version.hs             |  4 +---
 libraries/base/Data/Void.hs                |  1 -
 libraries/base/Foreign/C/Types.hs          |  3 +--
 libraries/base/Foreign/Ptr.hs              |  3 +--
 libraries/base/GHC/Conc/Sync.hs            |  9 +--------
 libraries/base/GHC/Conc/Windows.hs         |  5 ++---
 libraries/base/GHC/Exception.hs            |  6 ++----
 libraries/base/GHC/Exts.hs                 |  4 ++--
 libraries/base/GHC/ForeignPtr.hs           |  4 +---
 libraries/base/GHC/IO/Exception.hs         | 17 +++++------------
 libraries/base/GHC/IO/FD.hs                |  3 ---
 libraries/base/GHC/IO/Handle/Types.hs      |  4 ----
 libraries/base/GHC/IOArray.hs              |  5 ++---
 libraries/base/GHC/IORef.hs                |  5 ++---
 libraries/base/GHC/Int.hs                  | 14 ++++++--------
 libraries/base/GHC/MVar.hs                 |  5 ++---
 libraries/base/GHC/Natural.hs              |  1 -
 libraries/base/GHC/Stable.hs               |  3 ---
 libraries/base/GHC/StaticPtr.hs            |  5 +----
 libraries/base/GHC/Weak.hs                 |  4 +---
 libraries/base/System/Mem/StableName.hs    |  5 +----
 libraries/base/System/Posix/Types.hs       |  3 +--
 libraries/base/System/Timeout.hs           |  5 ++---
 libraries/base/base.cabal                  |  1 -
 libraries/base/include/CTypes.h            |  2 +-
 libraries/base/tests/IO/T4144.hs           |  1 -
 libraries/base/tests/foldableArray.hs      |  2 +-
 41 files changed, 57 insertions(+), 121 deletions(-)

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

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 47b5b5c2b2c92ba091313c36489588edadceaa9d


More information about the ghc-commits mailing list