Permalink
Browse files

patch to take catch/ioError from Control.Exception for compatibility …

…with GHC Head
  • Loading branch information...
1 parent 73d25d7 commit 9cc075cfaa40028a54f1dedf62af67e912f9fd42 @ekmett ekmett committed Jun 23, 2012
Showing with 4 additions and 2 deletions.
  1. +3 −1 Control/Monad/Error/Class.hs
  2. +1 −1 mtl.cabal
@@ -5,6 +5,7 @@ Module : Control.Monad.Error.Class
Copyright : (c) Michael Weber <michael.weber@post.rwth-aachen.de> 2001,
(c) Jeff Newbern 2003-2006,
(c) Andriy Palamarchuk 2006
+ (c) Edward Kmett 2012
License : BSD-style (see the file LICENSE)
Maintainer : libraries@haskell.org
@@ -52,10 +53,11 @@ import Control.Monad.Trans.Writer.Lazy as LazyWriter
import Control.Monad.Trans.Writer.Strict as StrictWriter
import Control.Monad.Trans.Class (lift)
-import Control.Exception (IOException)
+import Control.Exception (IOException, catch, ioError)
import Control.Monad
import Control.Monad.Instances ()
import Data.Monoid
+import Prelude (Either(..), (.), IO)
{- |
The strategy of combining computations that can throw exceptions
View
@@ -1,5 +1,5 @@
name: mtl
-version: 2.1.1
+version: 2.1.2
cabal-version: >= 1.6
license: BSD3
license-file: LICENSE

0 comments on commit 9cc075c

Please sign in to comment.