either 4.3 → 4.3.0.1
raw patch · 3 files changed
+7/−3 lines, 3 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- CHANGELOG.markdown +4/−0
- either.cabal +1/−1
- src/Control/Monad/Trans/Either.hs +2/−2
CHANGELOG.markdown view
@@ -1,3 +1,7 @@+4.3.0.1+-------+* Fixed import of `MonadCatch` to support versions of `base` before 4.6+ 4.3 --- * Inverted dependency between `free` and `either`.
either.cabal view
@@ -1,6 +1,6 @@ name: either category: Control, Monads-version: 4.3+version: 4.3.0.1 license: BSD3 cabal-version: >= 1.6 license-file: LICENSE
src/Control/Monad/Trans/Either.hs view
@@ -37,7 +37,7 @@ import Control.Monad.Cont.Class import Control.Monad.Error.Class import Control.Monad.Free.Class-import Control.Monad.Catch+import Control.Monad.Catch as MonadCatch import Control.Monad.Fix import Control.Monad.IO.Class import Control.Monad.Reader.Class@@ -212,7 +212,7 @@ -- | Catches exceptions from the base monad. instance MonadCatch m => MonadCatch (EitherT e m) where- catch (EitherT m) f = EitherT $ catch m (runEitherT . f)+ catch (EitherT m) f = EitherT $ MonadCatch.catch m (runEitherT . f) {-# INLINE catch #-} instance MonadFix m => MonadFix (EitherT e m) where