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:
ca4fc09
)
Don't depend on Prelude (#4123)
author
Simon Marlow
<marlowsd@gmail.com>
Tue, 15 Jun 2010 10:54:01 +0000
(10:54 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Tue, 15 Jun 2010 10:54:01 +0000
(10:54 +0000)
Control/Concurrent/MVar.hs
patch
|
blob
|
history
diff --git
a/Control/Concurrent/MVar.hs
b/Control/Concurrent/MVar.hs
index
521b499
..
352d01e
100644
(file)
--- a/
Control/Concurrent/MVar.hs
+++ b/
Control/Concurrent/MVar.hs
@@
-1,3
+1,4
@@
+{-# OPTIONS_GHC -XNoImplicitPrelude #-}
-----------------------------------------------------------------------------
-- |
-- Module : Control.Concurrent.MVar
@@
-45,7
+46,12
@@
import GHC.MVar ( MVar, newEmptyMVar, newMVar, takeMVar, putMVar,
)
#endif
+#ifdef __GLASGOW_HASKELL__
+import GHC.Base
+#else
import Prelude
+#endif
+
import Control.Exception.Base
{-|