Don't depend on Prelude (#4123)
authorSimon Marlow <marlowsd@gmail.com>
Tue, 15 Jun 2010 10:54:01 +0000 (10:54 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 15 Jun 2010 10:54:01 +0000 (10:54 +0000)
Control/Concurrent/MVar.hs

index 521b499..352d01e 100644 (file)
@@ -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
 
 {-|