Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapM :: MonadParallel m => (a -> m b) -> [a] -> m [b]monad-parallel Control.Monad.Parallel Like mapM, but applying the function to the individual list items in parallel.
mapM :: Monad m => (b -> m c) -> Fold m a b -> Fold m a cstreamly-core Streamly.Data.Fold Deprecated: Use rmapM instead
mapM :: Monad m => (a -> m b) -> Stream m a -> Stream m bstreamly-core Streamly.Data.Stream >>> mapM f = Stream.sequence . fmap f
Apply a monadic function to each element of the stream and replace it with the output of the resulting action.>>> s = Stream.fromList ["a", "b", "c"] >>> Stream.fold Fold.drain $ Stream.mapM putStr s abc
mapM :: Monad m => (a -> m b) -> StreamK m a -> StreamK m bstreamly-core Streamly.Data.StreamK No documentation available.
mapM :: Monad m => (b -> m c) -> Unfold m a b -> Unfold m a cstreamly-core Streamly.Data.Unfold Apply a monadic function to each element of the stream and replace it with the output of the resulting action.
>>> mapM f = Unfold.mapM2 (const f)
mapM :: Monad m => (b -> m c) -> Fold m a b -> Fold m a cstreamly-core Streamly.Internal.Data.Fold Deprecated: Use rmapM instead
mapM :: Monad m => (a -> m b) -> Pipe m a bstreamly-core Streamly.Internal.Data.Pipe Lift a monadic function to a Pipe.
mapM :: Monad m => (a -> m b) -> Stream m a -> Stream m bstreamly-core Streamly.Internal.Data.Stream >>> mapM f = Stream.sequence . fmap f
Apply a monadic function to each element of the stream and replace it with the output of the resulting action.>>> s = Stream.fromList ["a", "b", "c"] >>> Stream.fold Fold.drain $ Stream.mapM putStr s abc
mapM :: Monad m => (a -> m b) -> Stream m a -> Stream m bstreamly-core Streamly.Internal.Data.Stream >>> mapM f = Stream.sequence . fmap f
Apply a monadic function to each element of the stream and replace it with the output of the resulting action.>>> s = Stream.fromList ["a", "b", "c"] >>> Stream.fold Fold.drain $ Stream.mapM putStr s abc
mapM :: Monad m => (a -> m b) -> StreamK m a -> StreamK m bstreamly-core Streamly.Internal.Data.StreamK No documentation available.