mapM package:conduit
Apply a monadic transformation to all values in a stream.
If you do not need the transformed values, and instead just want the
monadic side-effects of running the action, see
mapM_.
Subject to fusion
Apply a monadic transformation to all values in a stream.
If you do not need the transformed values, and instead just want the
monadic side-effects of running the action, see
mapM_.
Subject to fusion
Since 0.3.0
Apply a monadic transformation to all values in a stream.
If you do not need the transformed values, and instead just want the
monadic side-effects of running the action, see mapM_.
Apply a monadic transformation to all elements in a chunked stream.
Apply the action to all values in the stream.
Note: if you want to pass the values instead of
consuming them, use iterM instead.
Apply the action to all elements in the chunked stream.
Note: the same caveat as with
mapM_C applies. If you don't want
to consume the values, you can use
iterM:
iterM (omapM_ f)
Apply a monadic transformation to all elements in a chunked stream.
Subject to fusion
Apply the action to all values in the stream.
Note: if you want to
pass the values instead of
consuming them, use
iterM instead.
Subject to fusion
Apply the action to all elements in the chunked stream.
Note: the same caveat as with
mapM_ applies. If you don't want
to consume the values, you can use
iterM:
iterM (omapM_ f)
Subject to fusion
Apply the action to all values in the stream.
Subject to fusion
Since 0.3.0
Apply a transformation that may fail to all values in a stream,
discarding the failures.
Subject to fusion
Since 0.5.1
Apply a monadic transformation that may fail to all values in a
stream, discarding the failures.
Subject to fusion
Since 0.5.1
Apply the monadic function to each value in the stream, resulting in a
foldable value (e.g., a list). Then yield each of the individual
values in that foldable value separately.
Generalizes concatMapM, mapMaybeM, and mapFoldableM.
Apply the provided monadic mapping function and monoidal combine all
values.
Apply the provided monadic mapping function and monoidal combine all
elements in the chunked stream.
Apply a monadic monomorphic transformation to all elements in a
chunked stream.
Unlike mapME, this will work on types like
ByteString and Text which are MonoFunctor
but not Functor.
Apply the monadic function to each value in the stream, resulting in a
foldable value (e.g., a list). Then yield each of the individual
values in that foldable value separately.
Generalizes concatMapM, mapMaybeM, and mapFoldableM.
Subject to fusion
Apply the provided monadic mapping function and monoidal combine all
values.
Subject to fusion
Apply the provided monadic mapping function and monoidal combine all
elements in the chunked stream.
Subject to fusion
Apply a monadic monomorphic transformation to all elements in a
chunked stream.
Unlike mapME, this will work on types like
ByteString and Text which are MonoFunctor
but not Functor.
Subject to fusion