map package:conduit

Apply a transformation to all values in a stream. Subject to fusion Since 0.3.0
Apply a function to all the input values of a ConduitM. Since 0.5.0
Apply a function to all the output values of a ConduitM. This mimics the behavior of fmap for a Source and Conduit in pre-0.4 days. It can also be simulated by fusing with the map conduit from Data.Conduit.List. Since 0.4.1
Same as mapOutput, but use a function that returns Maybe values. Since 0.5.0
Apply a function to all the input values of a Pipe. Since 0.5.0
Apply a function to all the output values of a Pipe. This mimics the behavior of fmap for a Source and Conduit in pre-0.4 days. Since 0.4.1
Same as mapOutput, but use a function that returns Maybe values. Since 0.5.0
Analog of mapAccumL for lists. Note that in contrast to mapAccumL, the function argument takes the accumulator as its second argument, not its first argument, and the accumulated value is strict. Subject to fusion Since 1.1.1
Monadic mapAccum. Subject to fusion Since 1.1.1
Generalization of mapMaybe and concatMap. It applies function to all values in a stream and send values inside resulting Foldable downstream. Subject to fusion Since 1.0.6
Monadic variant of mapFoldable. Subject to fusion Since 1.0.6
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 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