From 3daf0023d2dcf7caf85d61f2dc177f8e9421b2fd Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Sat, 20 Sep 2014 23:32:06 +0200 Subject: 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 --- testsuite/tests/ghci/scripts/ghci008.stdout | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/tests/ghci/scripts/ghci008.stdout') diff --git a/testsuite/tests/ghci/scripts/ghci008.stdout b/testsuite/tests/ghci/scripts/ghci008.stdout index f0a3f19a9c..057e9b298a 100644 --- a/testsuite/tests/ghci/scripts/ghci008.stdout +++ b/testsuite/tests/ghci/scripts/ghci008.stdout @@ -32,5 +32,5 @@ class (RealFrac a, Floating a) => RealFloat a where -- Defined in ‘GHC.Float’ instance RealFloat Float -- Defined in ‘GHC.Float’ instance RealFloat Double -- Defined in ‘GHC.Float’ -Data.List.isPrefixOf :: Eq a => [a] -> [a] -> Bool - -- Defined in ‘Data.List’ +Data.OldList.isPrefixOf :: Eq a => [a] -> [a] -> Bool + -- Defined in ‘Data.OldList’ -- cgit v1.2.1