diff --git a/Data/HashMap/Internal.hs b/Data/HashMap/Internal.hs index 6527f070..2bb7029c 100644 --- a/Data/HashMap/Internal.hs +++ b/Data/HashMap/Internal.hs @@ -164,8 +164,8 @@ import Data.HashMap.Internal.List (isPermutationBy, unorderedCompare) import Data.Semigroup (Semigroup (..), stimesIdempotentMonoid) import GHC.Exts (Int (..), Int#, TYPE, (==#)) import GHC.Stack (HasCallStack) -import Prelude hiding (filter, foldl, foldr, lookup, map, - null, pred) +import Prelude hiding (Foldable(..), filter, lookup, map, + pred) import Text.Read hiding (step) import qualified Data.Data as Data diff --git a/Data/HashMap/Internal/Array.hs b/Data/HashMap/Internal/Array.hs index dda9edcf..79cf30ba 100644 --- a/Data/HashMap/Internal/Array.hs +++ b/Data/HashMap/Internal/Array.hs @@ -94,7 +94,7 @@ import GHC.Exts (Int (..), SmallArray#, SmallMutableArray#, unsafeFreezeSmallArray#, unsafeThawSmallArray#, writeSmallArray#) import GHC.ST (ST (..)) -import Prelude hiding (all, filter, foldMap, foldl, foldr, length, +import Prelude hiding (Foldable(..), all, filter, map, read, traverse) import qualified GHC.Exts as Exts diff --git a/Data/HashSet/Internal.hs b/Data/HashSet/Internal.hs index da0713c3..be1af480 100644 --- a/Data/HashSet/Internal.hs +++ b/Data/HashSet/Internal.hs @@ -98,7 +98,7 @@ import Data.Hashable.Lifted (Hashable1 (..), Hashable2 (..)) import Data.HashMap.Internal (HashMap, equalKeys, equalKeys1, foldMapWithKey, foldlWithKey, foldrWithKey) import Data.Semigroup (Semigroup (..), stimesIdempotentMonoid) -import Prelude hiding (filter, foldl, foldr, map, null) +import Prelude hiding (Foldable(..), filter, map) import Text.Read import qualified Data.Data as Data