Hoogle Search
Within LTS Haskell 24.26 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
rollingMapM :: Monad m => (Maybe a -> a -> m b) -> Fold m a bstreamly-core Streamly.Internal.Data.Fold Apply a function on every two successive elements of a stream. The first argument of the map function is the previous element and the second argument is the current element. When processing the very first element in the stream, the previous element is Nothing. Pre-release
windowRollingMapM :: Monad m => (Maybe a -> a -> m (Maybe b)) -> Fold m (a, Maybe a) (Maybe b)streamly-core Streamly.Internal.Data.Fold Apply an effectful function on the latest and the oldest element of the window.
rmapM :: Monad m => (b -> m c) -> ChunkFold m a b -> ChunkFold m a cstreamly-core Streamly.Internal.Data.Fold.Chunked Map a monadic function on the output of a fold. Pre-release
lmapM :: Monad m => (a -> m b) -> Parser b m r -> Parser a m rstreamly-core Streamly.Internal.Data.Parser lmapM f parser maps the monadic function f on the input of the parser.
rmapM :: Monad m => (b -> m c) -> Parser a m b -> Parser a m cstreamly-core Streamly.Internal.Data.Parser rmapM f parser maps the monadic function f on the output of the parser.
>>> rmap = fmap
lmapM :: Monad m => (a -> m b) -> Refold m c b r -> Refold m c a rstreamly-core Streamly.Internal.Data.Refold.Type lmapM f fold maps the monadic function f on the input of the fold. Internal
rmapM :: Monad m => (b -> m c) -> Refold m x a b -> Refold m x a cstreamly-core Streamly.Internal.Data.Refold.Type Map a monadic function on the output of a fold. Internal
concatMapM :: Monad m => (a -> m (Stream m b)) -> Stream m a -> Stream m bstreamly-core Streamly.Internal.Data.Stream Map a stream producing monadic function on each element of the stream and then flatten the results into a single stream. Since the stream generation function is monadic, unlike concatMap, it can produce an effect at the beginning of each iteration of the inner loop. See unfoldMany for a fusible alternative.
concatMapM :: Monad m => (a -> m (Stream m b)) -> Stream m a -> Stream m bstreamly-core Streamly.Internal.Data.Stream Map a stream producing monadic function on each element of the stream and then flatten the results into a single stream. Since the stream generation function is monadic, unlike concatMap, it can produce an effect at the beginning of each iteration of the inner loop. See unfoldMany for a fusible alternative.
rollingMapM :: Monad m => (Maybe a -> a -> m b) -> Stream m a -> Stream m bstreamly-core Streamly.Internal.Data.Stream Like rollingMap but with an effectful map function. Pre-release