[commit: packages/haskell2010] wip/T9586: Adapt to Data.List/Foldable generalisation (8ab509b)

git at git.haskell.org git at git.haskell.org
Thu Sep 18 22:48:37 UTC 2014


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

On branch  : wip/T9586
Link       : http://git.haskell.org/packages/haskell2010.git/commitdiff/8ab509b674c73df2298d0f356b438d7db52896e6

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

commit 8ab509b674c73df2298d0f356b438d7db52896e6
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Fri Sep 19 00:20:50 2014 +0200

    Adapt to Data.List/Foldable generalisation


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

8ab509b674c73df2298d0f356b438d7db52896e6
 Data/List.hs | 2 +-
 Prelude.hs   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Data/List.hs b/Data/List.hs
index b498db8..54ee601 100644
--- a/Data/List.hs
+++ b/Data/List.hs
@@ -186,4 +186,4 @@ module Data.List (
    , genericReplicate  -- :: (Integral a) => a -> b -> [b]
 
   ) where
-import "base" Data.List hiding ( splitAt )
+import "base" Data.OldList hiding ( splitAt )
diff --git a/Prelude.hs b/Prelude.hs
index a0f0700..71d36a5 100644
--- a/Prelude.hs
+++ b/Prelude.hs
@@ -125,7 +125,7 @@ import qualified "base" Control.Exception.Base as New (catch)
 import "base" Control.Monad
 import "base" System.IO
 import "base" System.IO.Error (IOError, ioError, userError)
-import "base" Data.List hiding ( splitAt )
+import "base" Data.OldList hiding ( splitAt )
 import "base" Data.Either
 import "base" Data.Maybe
 import "base" Data.Tuple



More information about the ghc-commits mailing list