+{-# OPTIONS_GHC -XNoImplicitPrelude #-}
-----------------------------------------------------------------------------
-- |
-- Module : Control.Concurrent.MVar
#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
+#ifdef __GLASGOW_HASKELL__
+import GHC.Base
+#else
import Prelude
-import Control.Exception
+#endif
+
+import Control.Exception.Base
{-|
This is a combination of 'takeMVar' and 'putMVar'; ie. it takes the value