From f4d2ec9c6aba2aeee9ec9f0448b8b0d4f669575a Mon Sep 17 00:00:00 2001 From: Bodigrim Date: Sun, 4 Jun 2023 19:09:30 +0100 Subject: [PATCH] Future-proof against potential Prelude.foldl' --- src/Data/IntMap/Monoidal.hs | 2 +- src/Data/IntMap/Monoidal/Strict.hs | 2 +- src/Data/Map/Monoidal.hs | 2 +- src/Data/Map/Monoidal/Strict.hs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Data/IntMap/Monoidal.hs b/src/Data/IntMap/Monoidal.hs index ed6cbf5..9fea14f 100644 --- a/src/Data/IntMap/Monoidal.hs +++ b/src/Data/IntMap/Monoidal.hs @@ -127,7 +127,7 @@ module Data.IntMap.Monoidal -- , showTreeWith ) where -import Prelude hiding (null, lookup, map, foldl, foldr, filter) +import Prelude hiding (Foldable(..), lookup, map, filter) import Data.Coerce (coerce) import Data.IntSet (IntSet) diff --git a/src/Data/IntMap/Monoidal/Strict.hs b/src/Data/IntMap/Monoidal/Strict.hs index 8a56c18..5695229 100644 --- a/src/Data/IntMap/Monoidal/Strict.hs +++ b/src/Data/IntMap/Monoidal/Strict.hs @@ -127,7 +127,7 @@ module Data.IntMap.Monoidal.Strict -- , showTreeWith ) where -import Prelude hiding (null, lookup, map, foldl, foldr, filter) +import Prelude hiding (Foldable(..), lookup, map, filter) import Data.Coerce (coerce) import Data.IntSet (IntSet) diff --git a/src/Data/Map/Monoidal.hs b/src/Data/Map/Monoidal.hs index 92c3389..da51ded 100644 --- a/src/Data/Map/Monoidal.hs +++ b/src/Data/Map/Monoidal.hs @@ -143,7 +143,7 @@ module Data.Map.Monoidal -- , showTreeWith ) where -import Prelude hiding (null, lookup, map, foldl, foldr, filter, take, drop, splitAt) +import Prelude hiding (Foldable(..), lookup, map, filter, take, drop, splitAt) import Data.Coerce (coerce) import Data.Set (Set) diff --git a/src/Data/Map/Monoidal/Strict.hs b/src/Data/Map/Monoidal/Strict.hs index e3aa64b..ec90997 100644 --- a/src/Data/Map/Monoidal/Strict.hs +++ b/src/Data/Map/Monoidal/Strict.hs @@ -143,7 +143,7 @@ module Data.Map.Monoidal.Strict -- , showTreeWith ) where -import Prelude hiding (null, lookup, map, foldl, foldr, filter, take, drop, splitAt) +import Prelude hiding (Foldable(..), lookup, map, filter, take, drop, splitAt) import Data.Coerce (coerce) import Data.Set (Set)