Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapExn :: forall e2 e1 (m :: Type -> Type) . (e2 -> e1) -> (e1 -> Maybe e2) -> Exn m e1 -> Exn m e2monadology Control.Monad.Ology.Data.Exn No documentation available.
mapCont :: (r -> r) -> Cont r a -> Cont r amonadology Control.Monad.Ology.Specific.ContT Apply a function to transform the result of a continuation-passing computation.
mapExcept :: (Either e a -> Either e' b) -> Except e a -> Except e' bmonadology Control.Monad.Ology.Specific.ExceptT Map the unwrapped computation using the given function.
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.