packages feed

list-transformer 1.0.5 → 1.0.6

raw patch · 2 files changed

+4/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

list-transformer.cabal view
@@ -1,5 +1,5 @@ name:                list-transformer-version:             1.0.5+version:             1.0.6 synopsis:            List monad transformer description:         This library provides a list monad transformer that                      enriches lists with effects and streams efficiently in
src/List/Transformer.hs view
@@ -209,7 +209,7 @@ #endif import Control.Monad (MonadPlus(..)) import Control.Monad.Error.Class (MonadError(..))-#if MIN_VERSION_base(4,9,0)+#if MIN_VERSION_base(4,9,0) && !(MIN_VERSION_base(4,13,0)) import Control.Monad.Fail (MonadFail(..)) #endif import Control.Monad.State.Class (MonadState(..))@@ -282,7 +282,9 @@             Nil       -> return Nil             Cons x l' -> next (k x <|> (l' >>= k)) ) +#if !(MIN_VERSION_base(4,13,0))     fail _ = mzero+#endif  instance Monad m => Alternative (ListT m) where     empty = ListT (return Nil)