Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
constrained-categories Data.Foldable.Constrained The distinction between mapM_ and traverse_ doesn't really make sense on grounds of Monoidal / Applicative vs Monad, but it has in fact some benefits to restrict this to endofunctors, to make the constraint list at least somewhat shorter.
mapM_ :: (Foldable t, Monad m) => (a -> m b) -> t a -> m ()copilot-language Copilot.Language.Prelude 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.
mapMG :: (ModSummary -> ModSummary) -> ModuleGraph -> ModuleGraphghc-lib GHC Map a function f over all the ModSummaries. To preserve invariants f can't change the isBoot status.
mapMaybeOccEnv :: (a -> Maybe b) -> OccEnv a -> OccEnv bghc-lib GHC.Plugins mapMaybe for b OccEnv.
mapMaybeOccEnv :: (a -> Maybe b) -> OccEnv a -> OccEnv bghc-lib GHC.Plugins mapMaybe for b OccEnv.
mapMaybeFvRn :: (a -> RnM (b, FreeVars)) -> Maybe a -> RnM (Maybe b, FreeVars)ghc-lib GHC.Rename.Utils No documentation available.
-
hybrid-vectors Data.Vector.Hybrid O(n) Apply the monadic action to all elements of a vector and ignore the results
mapMaybeM :: Monad m => Maybe a -> (a -> m b) -> m (Maybe b)language-c Language.C.Analysis.TravMonad No documentation available.
mapMaybeM :: (Monad m, Functor m) => (a -> m (Maybe b)) -> [a] -> m [b]monad-extras Control.Monad.Extra A monadic version of mapMaybe :: (a -> Maybe b) -> [a] -> [b].
mapMP :: (Monad m, MonadPlus p) => (a -> m b) -> [a] -> m (p b)monadlist Control.Monad.ListM No documentation available.