hoist-error 0.2.0.0 → 0.2.0.1
raw patch · 3 files changed
+10/−5 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog.md +4/−0
- hoist-error.cabal +5/−4
- src/Control/Monad/Error/Hoist.hs +1/−1
changelog.md view
@@ -1,3 +1,7 @@+0.2.0.1++* Import `eitherT` when using old EitherT instance.+ 0.2.0.0 * Trying to make things agreeable for removed modules (Control.Monad.Trans.Either) and new instances (Control.Monad.Except(T)).
hoist-error.cabal view
@@ -1,5 +1,5 @@ name: hoist-error-version: 0.2.0.0+version: 0.2.0.1 synopsis: Some convenience facilities for hoisting errors into a monad description: Provides a typeclass and useful combinators for hoisting errors into a monad. license: MIT@@ -10,6 +10,7 @@ category: Control build-type: Simple cabal-version: >=1.10+tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1 extra-source-files: changelog.md @@ -27,9 +28,9 @@ library exposed-modules: Control.Monad.Error.Hoist- build-depends: base >=4.7 && <4.12- , mtl >2.1 && <2.3- , either >4 && <6+ build-depends: base >=4.7 && <4.12+ , mtl >=2.1 && <2.3+ , either >=4 && <6 hs-source-dirs: src default-language: Haskell2010
src/Control/Monad/Error/Hoist.hs view
@@ -55,7 +55,7 @@ #if MIN_VERSION_either(5,0,0) -- Control.Monad.Trans.Either was removed from @either@ in version 5. #else-import Control.Monad.Trans.Either (EitherT, runEitherT)+import Control.Monad.Trans.Either (EitherT, eitherT, runEitherT) #endif -- | A tricky class for easily hoisting errors out of partiality types (e.g.