[commit: ghc] master: Remove 'deriving Typeable' statements (95dfdce)

git at git.haskell.org git at git.haskell.org
Tue May 24 13:19:11 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/95dfdceb8b4dcc54a366949577d9ee389bad5bc3/ghc

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

commit 95dfdceb8b4dcc54a366949577d9ee389bad5bc3
Author: Ryan Scott <ryan.gl.scott at gmail.com>
Date:   Tue May 24 09:22:04 2016 -0400

    Remove 'deriving Typeable' statements
    
    Summary:
    Deriving `Typeable` has been a no-op since GHC 7.10, and now that we
    require 7.10+ to build GHC, we can remove all the redundant `deriving Typeable`
    statements in GHC.
    
    Test Plan: ./validate
    
    Reviewers: goldfire, austin, hvr, bgamari
    
    Reviewed By: austin, hvr, bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2260


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

95dfdceb8b4dcc54a366949577d9ee389bad5bc3
 compiler/basicTypes/Avail.hs                       |   2 -
 compiler/basicTypes/BasicTypes.hs                  |  32 +++----
 compiler/basicTypes/ConLike.hs                     |   4 +-
 compiler/basicTypes/DataCon.hs                     |  10 +--
 compiler/basicTypes/FieldLabel.hs                  |   2 +-
 compiler/basicTypes/Literal.hs                     |   4 +-
 compiler/basicTypes/Module.hs                      |   6 +-
 compiler/basicTypes/Name.hs                        |   2 -
 compiler/basicTypes/OccName.hs                     |   3 +-
 compiler/basicTypes/PatSyn.hs                      |   4 +-
 compiler/basicTypes/RdrName.hs                     |  12 +--
 compiler/basicTypes/SrcLoc.hs                      |   8 +-
 compiler/basicTypes/Var.hs                         |   3 +-
 compiler/coreSyn/CoreSyn.hs                        |  10 +--
 compiler/hsSyn/HsBinds.hs                          |  21 ++---
 compiler/hsSyn/HsDecls.hs                          |  47 +++-------
 compiler/hsSyn/HsDoc.hs                            |   2 +-
 compiler/hsSyn/HsExpr.hs                           |  34 +++----
 compiler/hsSyn/HsImpExp.hs                         |   6 +-
 compiler/hsSyn/HsLit.hs                            |   5 +-
 compiler/hsSyn/HsPat.hs                            |   5 +-
 compiler/hsSyn/HsSyn.hs                            |   1 -
 compiler/hsSyn/HsTypes.hs                          |  18 +---
 compiler/hsSyn/PlaceHolder.hs                      |   2 +-
 compiler/main/HscTypes.hs                          |   5 +-
 compiler/parser/ApiAnnotation.hs                   |   8 +-
 compiler/prelude/ForeignCall.hs                    |  12 +--
 compiler/profiling/CostCentre.hs                   |   4 +-
 compiler/typecheck/TcDeriv.hs                      |   4 +-
 compiler/typecheck/TcEvidence.hs                   |  12 ++-
 compiler/types/Class.hs                            |   4 +-
 compiler/types/CoAxiom.hs                          |  10 +--
 compiler/types/Coercion.hs                         |   2 +-
 compiler/types/InstEnv.hs                          |   4 +-
 compiler/types/TyCoRep.hs                          |  15 ++--
 compiler/types/TyCon.hs                            |   4 +-
 compiler/utils/Bag.hs                              |   3 +-
 compiler/utils/BooleanFormula.hs                   |   2 +-
 compiler/utils/FastString.hs                       |   4 +-
 compiler/utils/IOEnv.hs                            |   3 -
 compiler/utils/Panic.hs                            |   4 +-
 compiler/utils/UniqDFM.hs                          |   5 +-
 libraries/base/Data/Semigroup.hs                   |  14 +--
 libraries/base/GHC/Exception.hs                    |   6 +-
 libraries/ghci/GHCi/TH.hs                          |   2 +-
 .../template-haskell/Language/Haskell/TH/Syntax.hs | 100 ++++++++++-----------
 46 files changed, 189 insertions(+), 281 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 95dfdceb8b4dcc54a366949577d9ee389bad5bc3


More information about the ghc-commits mailing list