pipes-safe 2.3.1 → 2.3.2
raw patch · 3 files changed
+6/−7 lines, 3 files
Files
- README.md +1/−1
- pipes-safe.cabal +2/−2
- src/Pipes/Safe.hs +3/−4
README.md view
@@ -1,4 +1,4 @@-# Pipes-Safe v2.3.1+# Pipes-Safe `pipes-safe` builds upon [the `pipes` library](https://github.com/Gabriel439/Haskell-Pipes-Library) to
pipes-safe.cabal view
@@ -1,5 +1,5 @@ Name: pipes-safe-Version: 2.3.1+Version: 2.3.2 Cabal-Version: >=1.8.0.2 Build-Type: Simple License: BSD3@@ -43,7 +43,7 @@ transformers >= 0.2.0.0 && < 0.6 , transformers-base >= 0.4.4 && < 0.5 , monad-control >= 1.0.0.4 && < 1.1 ,- primitive >= 0.6.2.0 && < 0.7 ,+ primitive >= 0.6.2.0 && < 0.8 , pipes >= 4.3.0 && < 4.4 if impl(ghc < 8.0) Build-Depends:
src/Pipes/Safe.hs view
@@ -3,13 +3,12 @@ GeneralizedNewtypeDeriving, CPP, Trustworthy #-} {-# OPTIONS_GHC -fno-warn-orphans #-} -{-| This module provides an orphan 'MonadCatch' instance for 'Proxy' of the+{-| This module provides an orphan 'MonadMask' instance for 'Proxy' of the form: -> instance (MonadCatch m, MonadIO m) => MonadCatch (Proxy a' a b' b m) where+> instance (MonadMask m, MonadIO m) => MonadMask (Proxy a' a b' b m) where - ... so you can throw and catch exceptions within pipes using all- 'MonadCatch' operations.+ Which is needed to implement the instance for MonadSafe for Proxy. This module also provides generalized versions of some 'MonadCatch' operations so that you can also protect against premature termination of