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 <[email protected]>
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__



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to