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.
mapMaybeM :: Monad m => (a -> m (Maybe b)) -> [a] -> m [b]distribution-opensuse OpenSuse.Prelude A version of mapMaybe that works with a monadic predicate.
mappend :: Monoid a => a -> a -> adistribution-opensuse OpenSuse.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.
mappend :: Monoid a => a -> a -> adistribution-opensuse OpenSuse.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.
mapExcept :: (Either e a -> Either e' b) -> Except e a -> Except e' bdunai Control.Monad.Trans.MSF.Except Map the unwrapped computation using the given function.
mapExceptT :: (m (Either e a) -> n (Either e' b)) -> ExceptT e m a -> ExceptT e' n bdunai Control.Monad.Trans.MSF.Except Map the unwrapped computation using the given function.
runExceptT (mapExceptT f m) = f (runExceptT m)
mapMSF :: forall (m :: Type -> Type) a b . Monad m => MSF m a b -> MSF m [a] [b]dunai Control.Monad.Trans.MSF.List Apply an MSF to every input.
mapMaybeT :: (m (Maybe a) -> n (Maybe b)) -> MaybeT m a -> MaybeT n bdunai Control.Monad.Trans.MSF.Maybe Transform the computation inside a MaybeT.
mapRWS :: ((a, s, w) -> (b, s, w')) -> RWS r w s a -> RWS r w' s bdunai Control.Monad.Trans.MSF.RWS Map the return value, final state and output of a computation using the given function.
mapRWST :: (m (a, s, w) -> n (b, s, w')) -> RWST r w s m a -> RWST r w' s n bdunai Control.Monad.Trans.MSF.RWS Map the inner computation using the given function.
mapReader :: (a -> b) -> Reader r a -> Reader r bdunai Control.Monad.Trans.MSF.Reader Transform the value returned by a Reader.