list-transformer 1.0.2 → 1.0.3
raw patch · 2 files changed
+4/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- list-transformer.cabal +1/−1
- src/List/Transformer.hs +3/−3
list-transformer.cabal view
@@ -1,5 +1,5 @@ name: list-transformer-version: 1.0.2+version: 1.0.3 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
@@ -139,7 +139,7 @@ > lift (f x) > > -- Alternatively, using MonadComprehensions:-> mapM f x = [ r | x <- select xs, r <- lift (f x) ]+> mapM f xs = [ r | x <- select xs, r <- lift (f x) ] ... or: @@ -149,7 +149,7 @@ > lift (f x) > > -- Alternatively, using MonadComprehensions:-> mapM f x = [ r | x <- xs, r <- lift (f x) ]+> mapM f xs = [ r | x <- xs, r <- lift (f x) ] ... or: @@ -159,7 +159,7 @@ > f x > > -- Alternatively, using MonadComprehensions:-> mapM f x = [ r | x <- xs, r <- f x ]+> mapM f xs = [ r | x <- xs, r <- f x ] > > -- Alternatively, using a pre-existing operator from "Control.Monad" > mapM = (=<<)