monad-peel 0.1.1 → 0.2
raw patch · 3 files changed
+17/−17 lines, 3 filesdep ~basedep ~transformersnew-uploaderPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, transformers
API changes (from Hackage documentation)
- Control.Exception.Peel: block :: MonadPeelIO m => m a -> m a
- Control.Exception.Peel: unblock :: MonadPeelIO m => m a -> m a
Files
- Control/Exception/Peel.hs +0/−10
- LICENSE +1/−1
- monad-peel.cabal +16/−6
Control/Exception/Peel.hs view
@@ -20,7 +20,6 @@ handle, handleJust, try, tryJust, evaluate,- block, unblock, bracket, bracket_, bracketOnError, finally, onException, ) where@@ -35,7 +34,6 @@ handle, handleJust, try, tryJust, evaluate,- block, unblock, bracket, bracket_, bracketOnError, finally, onException, )@@ -107,14 +105,6 @@ -- |Generalized version of 'E.evaluate'. evaluate :: MonadIO m => a -> m a evaluate = liftIO . E.evaluate---- |Generalized version of 'E.block'.-block :: MonadPeelIO m => m a -> m a-block = liftIOOp_ E.block---- |Generalized version of 'E.unblock'.-unblock :: MonadPeelIO m => m a -> m a-unblock = liftIOOp_ E.unblock -- |Generalized version of 'E.bracket'. Note, any monadic side -- effects in @m@ of the \"release\" computation will be discarded; it
LICENSE view
@@ -1,4 +1,4 @@-Copyright © 2010, Anders Kaseorg+Copyright © 2010, Anders Kaseorg; 2015 Sergey Alirzaev All rights reserved. Redistribution and use in source and binary forms, with or without
monad-peel.cabal view
@@ -1,5 +1,5 @@ Name: monad-peel-Version: 0.1.1+Version: 0.2 Synopsis: Lift control operations like exception catching through monad transformers Description: This package defines @MonadPeelIO@, a subset of @MonadIO@ into which@@ -12,15 +12,25 @@ Homepage: http://andersk.mit.edu/haskell/monad-peel/ License: BSD3 License-file: LICENSE-Author: Anders Kaseorg-Maintainer: Anders Kaseorg <andersk@mit.edu>-Copyright: (c) 2010 Anders Kaseorg+Author: Anders Kaseorg, Sergey Alirzaev+Maintainer: Sergey Alirzaev <zl29ah@gmail.com>+Copyright: (c) 2010 Anders Kaseorg, 2015 Sergey Alirzaev Category: Control Build-type: Simple-Cabal-version: >= 1.2+Cabal-version: >= 1.6+Tested-With: GHC == 7.10.1 Extra-source-files: test.hs +Source-repository head+ type: git+ location: https://github.com/l29ah/monad-peel.git++Source-repository this+ type: git+ location: https://github.com/l29ah/monad-peel.git+ tag: 0.2+ Library Exposed-modules: Control.Monad.Trans.Peel@@ -30,4 +40,4 @@ Build-depends: base >= 3 && < 5, extensible-exceptions,- transformers >= 0.2 && < 0.4+ transformers >= 0.2 && < 0.5