blob: 6ff1b3fba332f9b1d6c2f1ca2894b7a322ddd09a [file] [log] [blame]
--- MonadCatchIO-transformers-0.3.0.0-orig/src/Control/Monad/CatchIO.hs 2012-04-10 07:23:39.000000000 +1000
+++ MonadCatchIO-transformers-0.3.0.0/src/Control/Monad/CatchIO.hs 2012-07-07 21:21:26.691029176 +1000
@@ -1,4 +1,4 @@
-{-# LANGUAGE ExistentialQuantification, ScopedTypeVariables #-}
+{-# LANGUAGE CPP, ExistentialQuantification, ScopedTypeVariables #-}
module Control.Monad.CatchIO
(
MonadCatchIO(..)
@@ -16,7 +16,9 @@
where
+#if !MIN_VERSION_base(4,6,0)
import Prelude hiding ( catch )
+#endif
import Control.Applicative ((<$>))
import qualified Control.Exception.Extensible as E