[commit: stm] master: Fix build with GHC HEAD (0f3f8d2)

Ian Lynagh <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.libraries
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/packages/stm

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/0f3f8d2190909ebcae1cc20551370fbbf2a922de

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

commit 0f3f8d2190909ebcae1cc20551370fbbf2a922de
Author: Ian Lynagh <[email protected]>
Date:   Sun Jun 24 14:28:08 2012 +0100

    Fix build with GHC HEAD

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

 Control/Sequential/STM.hs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Control/Sequential/STM.hs b/Control/Sequential/STM.hs
index 328132c..468e7bd 100644
--- a/Control/Sequential/STM.hs
+++ b/Control/Sequential/STM.hs
@@ -14,7 +14,9 @@ module Control.Sequential.STM (
 	TVar, newTVar, newTVarIO, readTVar, readTVarIO, writeTVar
     ) where
 
+#if __GLASGOW_HASKELL__ < 705
 import Prelude hiding (catch)
+#endif
 import Control.Applicative (Applicative(pure, (<*>)))
 import Control.Exception
 import Data.IORef
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.