[commit: packages/stm] master: Avoid AMP-caused redundant import warning (87c4dea)

git at git.haskell.org git at git.haskell.org
Wed Dec 17 10:48:32 UTC 2014


Repository : ssh://git@git.haskell.org/stm

On branch  : master
Link       : http://git.haskell.org/packages/stm.git/commitdiff/87c4dea145cb65258e93ce396480f371ffa85c0f

>---------------------------------------------------------------

commit 87c4dea145cb65258e93ce396480f371ffa85c0f
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Wed Dec 17 11:48:04 2014 +0100

    Avoid AMP-caused redundant import warning


>---------------------------------------------------------------

87c4dea145cb65258e93ce396480f371ffa85c0f
 Control/Sequential/STM.hs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Control/Sequential/STM.hs b/Control/Sequential/STM.hs
index 226c788..e855a61 100644
--- a/Control/Sequential/STM.hs
+++ b/Control/Sequential/STM.hs
@@ -19,7 +19,9 @@ module Control.Sequential.STM (
 #if __GLASGOW_HASKELL__ < 705
 import Prelude hiding (catch)
 #endif
+#if __GLASGOW_HASKELL__ < 709
 import Control.Applicative (Applicative(pure, (<*>)))
+#endif
 import Control.Exception
 import Data.IORef
 



More information about the ghc-commits mailing list