[commit: packages/containers] ghc-head: Import warning fix for GHC 7.7 (eeef3cb)
git at git.haskell.org
git at git.haskell.org
Wed Sep 4 21:24:56 CEST 2013
Repository : ssh://git@git.haskell.org/containers
On branch : ghc-head
Link : http://git.haskell.org/?p=packages/containers.git;a=commit;h=eeef3cbad92ab75d3d993a65e39cf6225881a710
>---------------------------------------------------------------
commit eeef3cbad92ab75d3d993a65e39cf6225881a710
Author: Johan Tibell <johan.tibell at gmail.com>
Date: Wed Sep 4 10:02:28 2013 -0700
Import warning fix for GHC 7.7
The unused import check is now more agressive so
import Prelude hiding (foldr)
creates a warning if nothing from the Prelude is used.
>---------------------------------------------------------------
eeef3cbad92ab75d3d993a65e39cf6225881a710
Data/IntMap.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Data/IntMap.hs b/Data/IntMap.hs
index e8a2a5d..29ca3f5 100644
--- a/Data/IntMap.hs
+++ b/Data/IntMap.hs
@@ -58,7 +58,7 @@ module Data.IntMap
, foldWithKey
) where
-import Prelude hiding (lookup,map,filter,foldr,foldl,null)
+import Prelude () -- hide foldr
import qualified Data.IntMap.Strict as Strict
import Data.IntMap.Lazy
More information about the ghc-commits
mailing list