mtl 2.1.1 → 2.1.2
raw patch · 2 files changed
+6/−2 lines, 2 filesdep ~base
Dependency ranges changed: base
Files
- Control/Monad/Error/Class.hs +3/−1
- mtl.cabal +3/−1
Control/Monad/Error/Class.hs view
@@ -5,6 +5,7 @@ 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.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
mtl.cabal view
@@ -1,5 +1,5 @@ name: mtl-version: 2.1.1+version: 2.1.2 cabal-version: >= 1.6 license: BSD3 license-file: LICENSE@@ -7,6 +7,8 @@ maintainer: Edward Kmett <ekmett@gmail.com> category: Control synopsis: Monad classes, using functional dependencies+homepage: http://github.com/ekmett/mtl+bug-reports: http://github.com/ekmett/mtl/issues description: Monad classes using functional dependencies, with instances for various monad transformers, inspired by the paper