Hoogle Search
Within LTS Haskell 24.18 (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.
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.
mapMaybeS :: forall (m :: Type -> Type) a b . Monad m => MSF m a b -> MSF m (Maybe a) (Maybe b)dunai Data.MonadicStreamFunction.Util Apply an MSF to every input. Freezes temporarily if the input is Nothing, and continues as soon as a Just is received.
-
fixed-vector-hetero Data.Vector.HFixed Apply monadic action to every element in the vector
mapMetadata :: AsMetadata a => (SExpr -> a) -> Identifier -> Identifiergrisette Grisette.Core Modify the metadata of an identifier.
mapMetadata :: AsMetadata a => (SExpr -> a) -> Identifier -> Identifiergrisette Grisette.Internal.Core.Data.Symbol Modify the metadata of an identifier.
mapMaybe :: Ord k => (a -> Maybe b) -> Map k a -> Map k bhashmap Data.HashMap Map values and collect the Just results.
mapMaybeWithKey :: Ord k => (k -> a -> Maybe b) -> Map k a -> Map k bhashmap Data.HashMap Map keys/values and collect the Just results.
mapMG :: (ModSummary -> ModSummary) -> ModuleGraph -> ModuleGraphhie-bios HIE.Bios.Ghc.Gap Map a function f over all the ModSummaries. To preserve invariants f can't change the isBoot status.