[commit: base] master: Fix build. (d900345)
Austin Seipp
mad.one at gmail.com
Thu Jul 11 20:25:36 CEST 2013
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : master
https://github.com/ghc/packages-base/commit/d9003451d195bdf1cdff6f8424e74d69ee142d79
>---------------------------------------------------------------
commit d9003451d195bdf1cdff6f8424e74d69ee142d79
Author: Austin Seipp <aseipp at pobox.com>
Date: Thu Jul 11 13:25:11 2013 -0500
Fix build.
We forgot to import tryAtomicReadMVar.
Signed-off-by: Austin Seipp <aseipp at pobox.com>
>---------------------------------------------------------------
Control/Concurrent/MVar.hs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Control/Concurrent/MVar.hs b/Control/Concurrent/MVar.hs
index 62a9161..0b3a081 100644
--- a/Control/Concurrent/MVar.hs
+++ b/Control/Concurrent/MVar.hs
@@ -157,7 +157,8 @@ import Hugs.ConcBase ( MVar, newEmptyMVar, newMVar, takeMVar, putMVar,
#ifdef __GLASGOW_HASKELL__
import GHC.MVar ( MVar(..), newEmptyMVar, newMVar, takeMVar, putMVar,
- tryTakeMVar, tryPutMVar, isEmptyMVar, atomicReadMVar
+ tryTakeMVar, tryPutMVar, isEmptyMVar, atomicReadMVar,
+ tryAtomicReadMVar
)
import qualified GHC.MVar
import GHC.Weak
More information about the ghc-commits
mailing list