Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…with GHC Head
  • Loading branch information...
commit 9cc075cfaa40028a54f1dedf62af67e912f9fd42 1 parent 73d25d7
@ekmett authored
Showing with 4 additions and 2 deletions.
  1. +3 −1 Control/Monad/Error/Class.hs
  2. +1 −1  mtl.cabal
View
4 Control/Monad/Error/Class.hs
@@ -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
2  mtl.cabal
@@ -1,5 +1,5 @@
name: mtl
-version: 2.1.1
+version: 2.1.2
cabal-version: >= 1.6
license: BSD3
license-file: LICENSE
Please sign in to comment.
Something went wrong with that request. Please try again.