Fix bugs regarding asynchronous exceptions and laziness in Control.Concurrent.SampleVar
[ghc-base.git] / Control / Concurrent / MVar.hs
index d4a1a48..521b499 100644 (file)
@@ -40,13 +40,13 @@ import Hugs.ConcBase ( MVar, newEmptyMVar, newMVar, takeMVar, putMVar,
 #endif
 
 #ifdef __GLASGOW_HASKELL__
-import GHC.Conc ( MVar, newEmptyMVar, newMVar, takeMVar, putMVar,
+import GHC.MVar ( MVar, newEmptyMVar, newMVar, takeMVar, putMVar,
                   tryTakeMVar, tryPutMVar, isEmptyMVar, addMVarFinalizer
                 )
 #endif
 
 import Prelude
-import Control.Exception
+import Control.Exception.Base
 
 {-|
   This is a combination of 'takeMVar' and 'putMVar'; ie. it takes the value