projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
40fe562
)
Drop System.Mem.Weak's dependency on Prelude
author
Bryan O'Sullivan
<bos@serpentine.com>
Sat, 27 Nov 2010 06:04:25 +0000
(06:04 +0000)
committer
Bryan O'Sullivan
<bos@serpentine.com>
Sat, 27 Nov 2010 06:04:25 +0000
(06:04 +0000)
System/Mem/Weak.hs
patch
|
blob
|
history
diff --git
a/System/Mem/Weak.hs
b/System/Mem/Weak.hs
index
208302f
..
61dce1d
100644
(file)
--- a/
System/Mem/Weak.hs
+++ b/
System/Mem/Weak.hs
@@
-67,13
+67,16
@@
module System.Mem.Weak (
-- $precise
) where
-- $precise
) where
-import Prelude
+import Data.Maybe (Maybe(..))
#ifdef __HUGS__
import Hugs.Weak
#ifdef __HUGS__
import Hugs.Weak
+import Prelude
#endif
#ifdef __GLASGOW_HASKELL__
#endif
#ifdef __GLASGOW_HASKELL__
+import GHC.Base (return)
+import GHC.Types (IO)
import GHC.Weak
#endif
import GHC.Weak
#endif