Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
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 ()ghc-lib-parser GHC.Prelude.Basic 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.
mapMaybeNameEnv :: (a -> Maybe b) -> NameEnv a -> NameEnv bghc-lib-parser GHC.Types.Name.Env No documentation available.
mapMaybeOccEnv :: (a -> Maybe b) -> OccEnv a -> OccEnv bghc-lib-parser GHC.Types.Name.Occurrence mapMaybe for b OccEnv.
mapMUniqDSet :: (Monad m, Uniquable b) => (a -> m b) -> UniqDSet a -> m (UniqDSet b)ghc-lib-parser GHC.Types.Unique.DSet Like mapUniqDSet but for mapM. Assumes the function we are mapping over the UniqDSet does not modify uniques, as per Note [UniqSet invariant] in GHC.Types.Unique.Set.
mapMaybeUniqSet_sameUnique :: (a -> Maybe b) -> UniqSet a -> UniqSet bghc-lib-parser GHC.Types.Unique.Set Like mapMaybe, but you must ensure the passed in function does not change the Unique.
mapMaybeModuleEnv :: (Module -> a -> Maybe b) -> ModuleEnv a -> ModuleEnv bghc-lib-parser GHC.Unit.Module.Env No documentation available.
mapModuleEnv :: (a -> b) -> ModuleEnv a -> ModuleEnv bghc-lib-parser GHC.Unit.Module.Env No documentation available.
mapMG :: (ModSummary -> ModSummary) -> ModuleGraph -> ModuleGraphghc-lib-parser GHC.Unit.Module.Graph Map a function f over all the ModSummaries. To preserve invariants f can't change the isBoot status.
mapMaybe' :: Foldable f => (a -> Maybe b) -> f a -> [b]ghc-lib-parser GHC.Utils.Misc No documentation available.
mapMaybeM :: Applicative m => (a -> m (Maybe b)) -> [a] -> m [b]ghc-lib-parser GHC.Utils.Monad Applicative version of mapMaybe