Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapExceptT :: (m (Either e a) -> n (Either e' b)) -> ExceptT e m a -> ExceptT e' n bmonadology Control.Monad.Ology.Specific.ExceptT Map the unwrapped computation using the given function.
runExceptT (mapExceptT f m) = f (runExceptT m)
mapMaybeT :: (m (Maybe a) -> n (Maybe b)) -> MaybeT m a -> MaybeT n bmonadology Control.Monad.Ology.Specific.MaybeT Transform the computation inside a MaybeT.
mapReader :: (a -> b) -> Reader r a -> Reader r bmonadology Control.Monad.Ology.Specific.ReaderT Transform the value returned by a Reader.
mapReaderT :: (m a -> n b) -> ReaderT r m a -> ReaderT r n bmonadology Control.Monad.Ology.Specific.ReaderT Transform the computation inside a ReaderT.
runReaderT (mapReaderT f m) = f . runReaderT m
mapResultFailure :: (e1 -> e2) -> Result e1 a -> Result e2 amonadology Control.Monad.Ology.Specific.Result No documentation available.
mapState :: ((a, s) -> (b, s)) -> State s a -> State s bmonadology Control.Monad.Ology.Specific.StateT Map both the return value and final state of a computation using the given function.
mapStateT :: (m (a, s) -> n (b, s)) -> StateT s m a -> StateT s n bmonadology Control.Monad.Ology.Specific.StateT Map both the return value and final state of a computation using the given function.
mapWriter :: ((a, w) -> (b, w')) -> Writer w a -> Writer w' bmonadology Control.Monad.Ology.Specific.WriterT Map both the return value and output of a computation using the given function.
mapWriterT :: (m (a, w) -> n (b, w')) -> WriterT w m a -> WriterT w' n bmonadology Control.Monad.Ology.Specific.WriterT Map both the return value and output of a computation using the given function.
runWriterT (mapWriterT f m) = f (runWriterT m)
mapFst :: (a -> c) -> (a, b) -> (c, b)monoid-transformer Data.Monoid.State No documentation available.