Hoogle Search
Within LTS Haskell 24.49 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapM_ :: (Foldable t, Monad m) => (a -> m b) -> t a -> m ()base-compat-batteries Control.Monad.Compat Map each element of a structure to a monadic action, evaluate these actions from left to right, and ignore the results. For a version that doesn't ignore the results see mapM. mapM_ is just like traverse_, but specialised to monadic actions.
mapMaybe :: (a -> Maybe b) -> Infinite a -> Infinite binfinite-list Data.List.Infinite Apply a function to every element of an infinite list and collect Just results. This function isn't productive (e. g., head . mapMaybe f won't terminate), if no elements of the input list result in Just.
mapMonotonic :: (a -> c) -> Bimap a b -> Bimap c bbimap Data.Bimap O(n). Map a strictly increasing function over all left keys in the map. The precondition is not checked. Version 0.3
mapMonotonicR :: (b -> c) -> Bimap a b -> Bimap a cbimap Data.Bimap O(n). Map a strictly increasing function over all right keys in the map. The precondition is not checked. Version 0.3
mapMaybe :: (a -> Maybe b) -> EnumMap k a -> EnumMap k benummapset Data.EnumMap.Lazy No documentation available.
mapMaybeWithKey :: Enum k => (k -> a -> Maybe b) -> EnumMap k a -> EnumMap k benummapset Data.EnumMap.Lazy No documentation available.
mapMaybe :: (a -> Maybe b) -> EnumMap k a -> EnumMap k benummapset Data.EnumMap.Strict No documentation available.
mapMaybeWithKey :: Enum k => (k -> a -> Maybe b) -> EnumMap k a -> EnumMap k benummapset Data.EnumMap.Strict No documentation available.
mapM_ :: (Foldable t, Monad m) => (a -> m b) -> t a -> m ()ghc-internal GHC.Internal.Control.Monad Map each element of a structure to a monadic action, evaluate these actions from left to right, and ignore the results. For a version that doesn't ignore the results see mapM. mapM_ is just like traverse_, but specialised to monadic actions.
mapM_ :: (Foldable t, Monad m) => (a -> m b) -> t a -> m ()ghc-internal GHC.Internal.Data.Foldable Map each element of a structure to a monadic action, evaluate these actions from left to right, and ignore the results. For a version that doesn't ignore the results see mapM. mapM_ is just like traverse_, but specialised to monadic actions.