Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapExcept :: (Either e a -> Either e' b) -> Except e a -> Except e' brebase Rebase.Prelude Map the unwrapped computation using the given function.
mapExceptT :: (m (Either e a) -> n (Either e' b)) -> ExceptT e m a -> ExceptT e' n brebase Rebase.Prelude 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 brebase Rebase.Prelude Transform the computation inside a MaybeT.
mapReader :: (a -> b) -> Reader r a -> Reader r brebase Rebase.Prelude Transform the value returned by a Reader.
mapReaderT :: (m a -> n b) -> ReaderT r m a -> ReaderT r n brebase Rebase.Prelude Transform the computation inside a ReaderT.
runReaderT (mapReaderT f m) = f . runReaderT m
mapState :: ((a, s) -> (b, s)) -> State s a -> State s brebase Rebase.Prelude 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 brebase Rebase.Prelude 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' brebase Rebase.Prelude 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 brebase Rebase.Prelude Map both the return value and output of a computation using the given function.
runWriterT (mapWriterT f m) = f (runWriterT m)
mappend :: Monoid a => a -> a -> arebase Rebase.Prelude An associative operation NOTE: This method is redundant and has the default implementation mappend = (<>) since base-4.11.0.0. Should it be implemented manually, since mappend is a synonym for (<>), it is expected that the two functions are defined the same way. In a future GHC release mappend will be removed from Monoid.