[commit: ghc] master: Move NonEmpty definition into GHC.Base (cb3363e)

git at git.haskell.org git at git.haskell.org
Mon Sep 4 20:22:02 UTC 2017


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

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

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

commit cb3363e921fa58f9ad462d4bf5f4c819f910bf2a
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Sep 2 21:52:21 2017 +0200

    Move NonEmpty definition into GHC.Base
    
    This is a preparatory refactoring for Semigroup=>Monoid
    as it prevents a messy .hs-boot file which would interact
    inconveniently with the buildsystem...


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

cb3363e921fa58f9ad462d4bf5f4c819f910bf2a
 libraries/base/Control/Monad/Fix.hs                | 10 ++-
 libraries/base/Control/Monad/Zip.hs                |  7 ++
 libraries/base/Data/Data.hs                        |  3 +
 libraries/base/Data/Foldable.hs                    | 10 +++
 libraries/base/Data/Functor/Classes.hs             | 22 ++++++
 libraries/base/Data/List/NonEmpty.hs               | 86 +---------------------
 libraries/base/Data/Traversable.hs                 |  6 +-
 libraries/base/GHC/Base.hs                         | 29 ++++++++
 libraries/base/GHC/Exts.hs                         |  9 +++
 libraries/base/GHC/Generics.hs                     |  4 +-
 libraries/base/GHC/Read.hs                         |  2 +
 libraries/base/GHC/Show.hs                         |  1 +
 testsuite/tests/ado/T13242a.stderr                 |  4 +-
 .../tests/annotations/should_fail/annfail10.stderr |  2 +-
 .../tests/ghci.debugger/scripts/break006.stderr    |  4 +-
 .../tests/ghci.debugger/scripts/print019.stderr    |  2 +-
 .../tests/indexed-types/should_fail/T12522a.stderr |  2 +-
 .../should_fail/overloadedlistsfail01.stderr       |  4 +-
 .../partial-sigs/should_compile/T10403.stderr      |  2 +-
 .../tests/partial-sigs/should_fail/T10999.stderr   |  4 +-
 testsuite/tests/polykinds/T13393.stderr            |  2 +-
 .../tests/typecheck/should_compile/holes2.stderr   |  2 +-
 .../tests/typecheck/should_fail/T10971b.stderr     |  8 +-
 .../tests/typecheck/should_fail/T12921.stderr      |  2 +-
 .../tests/typecheck/should_fail/T13292.stderr      |  2 +-
 testsuite/tests/typecheck/should_fail/T5095.stderr |  4 +-
 .../tests/typecheck/should_fail/tcfail072.stderr   |  4 +-
 .../tests/typecheck/should_fail/tcfail133.stderr   |  2 +-
 .../tests/typecheck/should_fail/tcfail181.stderr   |  2 +-
 29 files changed, 128 insertions(+), 113 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 cb3363e921fa58f9ad462d4bf5f4c819f910bf2a


More information about the ghc-commits mailing list