Hoogle Search
Within LTS Haskell 24.33 (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 ()numhask NumHask.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.
mapM_ :: (Foldable t, Monad m) => (a -> m b) -> t a -> m ()numhask NumHask.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.
mappend :: Monoid a => a -> a -> anumhask NumHask.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.
mapWithKey :: forall (n :: Natural) a b . (Fin n -> a -> b) -> FinMap n a -> FinMap n bparameterized-utils Data.Parameterized.FinMap.Safe No documentation available.
mapWithKey :: forall (n :: Natural) a b . (Fin n -> a -> b) -> FinMap n a -> FinMap n bparameterized-utils Data.Parameterized.FinMap.Unsafe No documentation available.
mapMaybeWithKey :: (forall (tp :: v) . () => k tp -> f tp -> Maybe (g tp)) -> MapF k f -> MapF k gparameterized-utils Data.Parameterized.Map Map keys and elements and collect Just results.
mapWithKey :: (forall (tp :: v) . () => ktp tp -> f tp -> g tp) -> MapF ktp f -> MapF ktp gparameterized-utils Data.Parameterized.Map Apply function to all elements in map.
mapSome :: (forall (tp :: k) . () => f tp -> g tp) -> Some f -> Some gparameterized-utils Data.Parameterized.Some Apply function to inner value.
-
parameterized-utils Data.Parameterized.Vector Scope a function to a sub-section of the given vector.
-
parameterized-utils Data.Parameterized.Vector Scope a monadic function to a sub-section of the given vector.