[commit: ghc] master: Remove redundant constraints from libraries, discovered by -fwarn-redundant-constraints (c409b6f)

git at git.haskell.org git at git.haskell.org
Tue Jan 6 15:10:23 UTC 2015


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

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

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

commit c409b6f30373535b6eed92e55d4695688d32be9e
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Jan 6 13:46:35 2015 +0000

    Remove redundant constraints from libraries, discovered by -fwarn-redundant-constraints
    
    This patch affects libraries, and requires a submodule update.
    
    Some other libraries, maintained by others, have redundant constraints,
    namely:
               containers
               haskeline
               transformers
               binary
    
    I have suppressed the redundant-constraint warnings by settings in
               validate-settings.mk
    (in this commit)


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

c409b6f30373535b6eed92e55d4695688d32be9e
 libraries/array                   |  2 +-
 libraries/base/Data/Data.hs       |  8 +++----
 libraries/base/Data/Foldable.hs   |  4 ++--
 libraries/base/GHC/Arr.hs         | 46 +++++++++++++++++++--------------------
 libraries/base/GHC/Event/Array.hs |  4 ++--
 libraries/base/GHC/IOArray.hs     |  4 ++--
 libraries/base/GHC/Real.hs        |  6 ++---
 libraries/base/Text/Printf.hs     |  2 +-
 libraries/deepseq                 |  2 +-
 libraries/hoopl                   |  2 +-
 libraries/parallel                |  2 +-
 mk/validate-settings.mk           |  3 +++
 12 files changed, 44 insertions(+), 41 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 c409b6f30373535b6eed92e55d4695688d32be9e


More information about the ghc-commits mailing list