map -package:base -is:exact -is:exact -package:text -package:containers -package:dlist -package:Cabal package:transformers
Apply a transformation to the other computation.
Map both the return value and output of a computation using the given
function.
Map both the return value and output of a computation using the given
function.
Apply a function to transform the result of a continuation-passing
computation.
Apply a function to transform the result of a continuation-passing
computation. This has a more restricted type than the
map
operations for other monad transformers, because
ContT does not
define a functor in the category of monads.
Map the unwrapped computation using the given function.
Map the unwrapped computation using the given function.
Lift a unary operation to the new monad.
Transform the computation inside a
MaybeT.
Map the return value, final state and output of a computation using
the given function.
Map the inner computation using the given function.
- runRWST (mapRWST f m) r s = f (runRWST m
r s) mapRWST :: (m (a, s, w) -> n (b, s, w')) -> RWST r w s
m a -> RWST r w' s n b
Map the return value, final state and output of a computation using
the given function.
Map the inner computation using the given function.
Transform the value returned by a
Reader.
Transform the computation inside a
ReaderT.
Apply a function to transform the result of a selection computation.
Apply a function to transform the result of a selection computation.
This has a more restricted type than the
map operations for
other monad transformers, because
SelectT does not define a
functor in the category of monads.
Map both the return value and final state of a computation using the
given function.
Map both the return value and final state of a computation using the
given function.
Map both the return value and output of a computation using the given
function.
Map both the return value and output of a computation using the given
function.
Map both the return value and output of a computation using the given
function.
Map both the return value and output of a computation using the given
function.