[commit: packages/haskell98] wip/T9586: Adapt to Data.List/Foldable generalisation (51ac61f)

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


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

On branch  : wip/T9586
Link       : http://git.haskell.org/packages/haskell98.git/commitdiff/51ac61ffff22ad23b5c7edc3fcc503af1d88c745

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

commit 51ac61ffff22ad23b5c7edc3fcc503af1d88c745
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Fri Sep 19 00:41:35 2014 +0200

    Adapt to Data.List/Foldable generalisation


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

51ac61ffff22ad23b5c7edc3fcc503af1d88c745
 List.hs    | 2 +-
 Prelude.hs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/List.hs b/List.hs
index b9383c4..eb87353 100644
--- a/List.hs
+++ b/List.hs
@@ -31,4 +31,4 @@ module List (
         zip, zip3, zipWith, zipWith3, unzip, unzip3
     ) where
 
-import Data.List hiding (foldl', splitAt)
+import Data.OldList hiding (foldl', splitAt)
diff --git a/Prelude.hs b/Prelude.hs
index f947e7e..bed225f 100644
--- a/Prelude.hs
+++ b/Prelude.hs
@@ -134,7 +134,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