diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-09-20 23:32:06 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-09-20 23:38:30 +0200 |
commit | 3daf0023d2dcf7caf85d61f2dc177f8e9421b2fd (patch) | |
tree | 6113afd5ee72e2e7b112e076230d9af5cc97c54d /testsuite/tests/lib | |
parent | 9f7e3633c692dce75c27607131bd386178fb0fcf (diff) | |
download | haskell-3daf0023d2dcf7caf85d61f2dc177f8e9421b2fd.tar.gz |
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
Diffstat (limited to 'testsuite/tests/lib')
-rw-r--r-- | testsuite/tests/lib/integer/integerGmpInternals.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/lib/integer/integerGmpInternals.hs b/testsuite/tests/lib/integer/integerGmpInternals.hs index 1cbad60b7b..3abb14031a 100644 --- a/testsuite/tests/lib/integer/integerGmpInternals.hs +++ b/testsuite/tests/lib/integer/integerGmpInternals.hs @@ -160,4 +160,4 @@ main = do roll :: [Word8] -> Integer - roll = foldr (\b a -> a `shiftL` 8 .|. fromIntegral b) 0 + roll = GHC.Base.foldr (\b a -> a `shiftL` 8 .|. fromIntegral b) 0 |