From: simonmar Date: Thu, 25 Nov 2004 15:01:24 +0000 (+0000) Subject: [project @ 2004-11-25 15:01:24 by simonmar] X-Git-Tag: nhc98-1-18-release~176 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=4445b58049107587cc2a97e9cf162251564ca534;p=ghc-base.git [project @ 2004-11-25 15:01:24 by simonmar] Add explicit 'import Prelude' to fix dependencies (necessary for make -j) --- diff --git a/Data/FiniteMap.hs b/Data/FiniteMap.hs index 167b0ef..3f3fd04 100644 --- a/Data/FiniteMap.hs +++ b/Data/FiniteMap.hs @@ -84,6 +84,8 @@ module Data.FiniteMap ( #endif ) where +import Prelude -- necessary to get dependencies right + import Data.Maybe ( isJust ) #ifdef __GLASGOW_HASKELL__ import GHC.Base diff --git a/Data/Queue.hs b/Data/Queue.hs index 8db6df6..91a7d34 100644 --- a/Data/Queue.hs +++ b/Data/Queue.hs @@ -23,9 +23,7 @@ module Data.Queue( listToQueue, queueToList ) where -#ifdef __HADDOCK__ -import Prelude -#endif +import Prelude -- necessary to get dependencies right -- | The type of FIFO queues. data Queue a = Q [a] [a] [a]