From b81a270c06bc84040231f8f218d00ed41c4df2cf Mon Sep 17 00:00:00 2001 From: Tobias Brandt Date: Sun, 22 Feb 2015 21:34:14 +0100 Subject: [PATCH] use explicit import list for Data.Foldable --- Data/PQueue/Internals.hs | 2 +- Data/PQueue/Max.hs | 2 +- Data/PQueue/Min.hs | 2 +- Data/PQueue/Prio/Max.hs | 2 +- Data/PQueue/Prio/Min.hs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Data/PQueue/Internals.hs b/Data/PQueue/Internals.hs index 49d9205..30f19c4 100644 --- a/Data/PQueue/Internals.hs +++ b/Data/PQueue/Internals.hs @@ -33,7 +33,7 @@ module Data.PQueue.Internals ( import Control.DeepSeq import Data.Functor -import Data.Foldable (Foldable (..)) +import Data.Foldable (Foldable (foldr, foldl)) import Data.Monoid (Monoid (..)) import qualified Data.PQueue.Prio.Internals as Prio diff --git a/Data/PQueue/Max.hs b/Data/PQueue/Max.hs index 8e00217..22080fc 100644 --- a/Data/PQueue/Max.hs +++ b/Data/PQueue/Max.hs @@ -86,7 +86,7 @@ import Control.DeepSeq import Data.Monoid import Data.Maybe hiding (mapMaybe) -import Data.Foldable hiding (toList) +import Data.Foldable (Foldable(foldl, foldr)) import Data.Traversable import Data.Ord hiding (Down) diff --git a/Data/PQueue/Min.hs b/Data/PQueue/Min.hs index ad72760..34973fa 100644 --- a/Data/PQueue/Min.hs +++ b/Data/PQueue/Min.hs @@ -88,7 +88,7 @@ import Control.Applicative.Identity import Data.Monoid import Data.Maybe hiding (mapMaybe) -import Data.Foldable hiding (toList) +import Data.Foldable (Foldable(foldl, foldl', foldr)) import Data.Traversable import qualified Data.List as List diff --git a/Data/PQueue/Prio/Max.hs b/Data/PQueue/Prio/Max.hs index 7bb638d..413c5b9 100644 --- a/Data/PQueue/Prio/Max.hs +++ b/Data/PQueue/Prio/Max.hs @@ -118,7 +118,7 @@ import Control.Applicative hiding (empty) import Control.Arrow import Data.Monoid import qualified Data.List as List -import Data.Foldable hiding (toList) +import Data.Foldable (Foldable(foldl, foldr)) import Data.Traversable import Data.Maybe hiding (mapMaybe) import Data.PQueue.Prio.Max.Internals diff --git a/Data/PQueue/Prio/Min.hs b/Data/PQueue/Prio/Min.hs index a85b544..2e120c6 100644 --- a/Data/PQueue/Prio/Min.hs +++ b/Data/PQueue/Prio/Min.hs @@ -117,7 +117,7 @@ module Data.PQueue.Prio.Min ( import Control.Applicative (Applicative (..), (<$>)) import Data.Monoid import qualified Data.List as List -import Data.Foldable hiding (toList) +import Data.Foldable (Foldable(foldl, foldl', foldr)) import Data.Traversable import Data.Maybe (fromMaybe)