projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3471ae9
)
[project @ 2004-11-25 15:01:24 by simonmar]
author
simonmar
<unknown>
Thu, 25 Nov 2004 15:01:24 +0000
(15:01 +0000)
committer
simonmar
<unknown>
Thu, 25 Nov 2004 15:01:24 +0000
(15:01 +0000)
Add explicit 'import Prelude' to fix dependencies (necessary for make -j)
Data/FiniteMap.hs
patch
|
blob
|
history
Data/Queue.hs
patch
|
blob
|
history
diff --git
a/Data/FiniteMap.hs
b/Data/FiniteMap.hs
index
167b0ef
..
3f3fd04
100644
(file)
--- 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
(file)
--- 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]