packages feed

hoist-error 0.1.0.0 → 0.1.0.1

raw patch · 2 files changed

+10/−5 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

hoist-error.cabal view
@@ -1,5 +1,5 @@ name:                hoist-error-version:             0.1.0.0+version:             0.1.0.1 synopsis:            Some convenience facilities for hoisting errors into a monad license:             MIT license-file:        LICENSE@@ -10,9 +10,14 @@ build-type:          Simple cabal-version:       >=1.10 +source-repository head+    type: git+    location: https://github.com/alephcloud/hs-hoist-error.git+ library   exposed-modules:     Control.Monad.Error.Hoist   build-depends:       base >=4.7 && <4.8                      , mtl >=2.2.1   hs-source-dirs:      src   default-language:    Haskell2010+
src/Control/Monad/Error/Hoist.hs view
@@ -42,7 +42,7 @@   → m α (<%?>) = flip hoistError -infixr 9 <%?>+infixl 8 <%?> {-# INLINE (<%?>) #-}  -- | A version of '<%?>' that operates on values already in the monad.@@ -56,7 +56,7 @@   x ← m   x <%?> e -infixr 9 <%!?>+infixl 8 <%!?> {-# INLINE (<%!?>) #-}  -- | A version of @hoistError@ that ignores the error in @t α@ and replaces it@@ -69,7 +69,7 @@   → m α m <?> e = m <%?> const e -infixr 9 <?>+infixl 8 <?> {-# INLINE (<?>) #-}  -- | A version of @<?>@ that operates on values already in the monad.@@ -82,5 +82,5 @@   x ← m   x <?> e -infixr 9 <!?>+infixl 8 <!?> {-# INLINE (<!?>) #-}