Hoogle Search

Within LTS Haskell 24.49 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. foldMapM :: (Monad m, Monoid b) => (a -> m b) -> Fold m a b

    streamly-core Streamly.Internal.Data.Fold

    Definition:

    >>> foldMapM f = Fold.lmapM f Fold.mconcat
    
    Make a fold from a monadic function that folds the output of the function using mappend and mempty.
    >>> sum = Fold.foldMapM (return . Data.Monoid.Sum)
    
    >>> Stream.fold sum $ Stream.enumerateFromTo 1 10
    Sum {getSum = 55}
    

  2. lmapM :: Monad m => (a -> m b) -> Fold m b r -> Fold m a r

    streamly-core Streamly.Internal.Data.Fold

    lmapM f fold maps the monadic function f on the input of the fold.

  3. rmapM :: Monad m => (b -> m c) -> Fold m a b -> Fold m a c

    streamly-core Streamly.Internal.Data.Fold

    Map a monadic function on the output of a fold.

  4. rollingMapM :: Monad m => (Maybe a -> a -> m b) -> Fold m a b

    streamly-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

  5. 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.

  6. rmapM :: Monad m => (b -> m c) -> ChunkFold m a b -> ChunkFold m a c

    streamly-core Streamly.Internal.Data.Fold.Chunked

    Map a monadic function on the output of a fold. Pre-release

  7. lmapM :: Monad m => (a -> m b) -> Parser b m r -> Parser a m r

    streamly-core Streamly.Internal.Data.Parser

    lmapM f parser maps the monadic function f on the input of the parser.

  8. rmapM :: Monad m => (b -> m c) -> Parser a m b -> Parser a m c

    streamly-core Streamly.Internal.Data.Parser

    rmapM f parser maps the monadic function f on the output of the parser.

    >>> rmap = fmap
    

  9. lmapM :: Monad m => (a -> m b) -> Refold m c b r -> Refold m c a r

    streamly-core Streamly.Internal.Data.Refold.Type

    lmapM f fold maps the monadic function f on the input of the fold. Internal

  10. rmapM :: Monad m => (b -> m c) -> Refold m x a b -> Refold m x a c

    streamly-core Streamly.Internal.Data.Refold.Type

    Map a monadic function on the output of a fold. Internal

Page 91 of many | Previous | Next