[commit: ghc] master: Set up framework for generalising Data.List to Foldables (3daf002)

git at git.haskell.org git at git.haskell.org
Sat Sep 20 21:40:50 UTC 2014


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

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

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

commit 3daf0023d2dcf7caf85d61f2dc177f8e9421b2fd
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Sep 20 23:32:06 2014 +0200

    Set up framework for generalising Data.List to Foldables
    
    This renames the Data.List module to Data.OldList, and puts a new
    Data.List module into its place re-exporting all list functions.
    
    The plan is to leave the monomorphic versions of the list functions in
    Data.OldList to help smooth the transition.
    
    The new Data.List module then will simply re-export entities from
    Data.OldList and Data.Foldable.
    
    This refactoring has been placed in a separate commit to be able to
    better isolate any regressions caused by the actual list function
    generalisations when implementing #9586
    
    This also updates the haskell2010, haskell98, and array submodules
    
    Reviewed By: austin, ekmett
    
    Differential Revision: https://phabricator.haskell.org/D228


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

3daf0023d2dcf7caf85d61f2dc177f8e9421b2fd
 libraries/array                                    |   2 +-
 libraries/base/Data/Foldable.hs                    |   2 +-
 libraries/base/Data/List.hs                        | 910 +--------------------
 libraries/base/Data/{List.hs => OldList.hs}        |   2 +-
 libraries/base/Data/OldTypeable/Internal.hs        |   2 +-
 libraries/base/GHC/Event/Internal.hs               |   3 +-
 libraries/base/GHC/Exts.hs                         |   2 +-
 libraries/base/Prelude.hs                          |   2 +-
 libraries/base/base.cabal                          |   1 +
 libraries/haskell2010                              |   2 +-
 libraries/haskell98                                |   2 +-
 testsuite/tests/ghci/scripts/ghci008.stdout        |   4 +-
 testsuite/tests/lib/integer/integerGmpInternals.hs |   2 +-
 testsuite/tests/rename/should_compile/T1972.stderr |   1 +
 testsuite/tests/rename/should_compile/T7963a.hs    |   3 +
 .../tests/rename/should_fail/rnfail040.stderr      |   1 +
 16 files changed, 21 insertions(+), 920 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 3daf0023d2dcf7caf85d61f2dc177f8e9421b2fd


More information about the ghc-commits mailing list