Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

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

  1. windowRollingMap :: forall (m :: Type -> Type) a b . Monad m => (Maybe a -> a -> Maybe b) -> Fold m (a, Maybe a) (Maybe b)

    streamly-core Streamly.Internal.Data.Fold

    Apply a pure function on the latest and the oldest element of the window.

    >>> windowRollingMap f = Fold.windowRollingMapM (\x y -> return $ f x y)
    

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

  3. concatMap :: forall (m :: Type -> Type) b a c . Monad m => (b -> ChunkFold m a c) -> ChunkFold m a b -> ChunkFold m a c

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

    Applies a fold on the input stream, generates the next fold from the output of the previously applied fold and then applies that fold. Pre-release

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

  5. module Streamly.Internal.Data.IsMap

    No documentation available.

  6. class IsMap (f :: Type -> Type)

    streamly-core Streamly.Internal.Data.IsMap

    No documentation available.

  7. bimapOverrideCount :: Int -> (s -> s1) -> (b -> b1) -> Step s b -> Step s1 b1

    streamly-core Streamly.Internal.Data.Parser

    Bimap discarding the count, and using the supplied count instead.

  8. concatMap :: forall (m :: Type -> Type) b a c . Monad m => (b -> Parser a m c) -> Parser a m b -> Parser a m c

    streamly-core Streamly.Internal.Data.Parser

    Map a Parser returning function on the result of a Parser. ALL THE CAVEATS IN splitWith APPLY HERE AS WELL. Pre-release

  9. lmap :: forall a b (m :: Type -> Type) r . (a -> b) -> Parser b m r -> Parser a m r

    streamly-core Streamly.Internal.Data.Parser

    lmap f parser maps the function f on the input of the parser.

    >>> Stream.parse (Parser.lmap (\x -> x * x) (Parser.fromFold Fold.sum)) (Stream.enumerateFromTo 1 100)
    Right 338350
    
    lmap = Parser.lmapM return
    

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

Page 1089 of many | Previous | Next