[commit: stm] master: fix warnings (cead9b1)
Simon Marlow
marlowsd at gmail.com
Thu Aug 9 11:49:06 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/stm
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/cead9b1bbbb28611d579c0a0d18358986c63f006
>---------------------------------------------------------------
commit cead9b1bbbb28611d579c0a0d18358986c63f006
Author: Simon Marlow <marlowsd at gmail.com>
Date: Thu Aug 9 09:50:55 2012 +0100
fix warnings
>---------------------------------------------------------------
Control/Monad/STM.hs | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Control/Monad/STM.hs b/Control/Monad/STM.hs
index 30bbae7..5c5e135 100644
--- a/Control/Monad/STM.hs
+++ b/Control/Monad/STM.hs
@@ -55,8 +55,12 @@ import Control.Monad.Fix
import Control.Sequential.STM
#endif
+#ifdef __GLASGOW_HASKELL__
+#if ! (MIN_VERSION_base(4,3,0))
import Control.Applicative
import Control.Monad (ap)
+#endif
+#endif
#ifdef __GLASGOW_HASKELL__
More information about the Cvs-libraries
mailing list