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. noErrorUnsafeConcatMap :: 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

    Better performance concatMap for non-failing parsers. Does not work correctly for parsers that can fail. ALL THE CAVEATS IN splitWith APPLY HERE AS WELL.

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

  3. lmap :: forall a (m :: Type -> Type) b . (a -> a) -> Producer m a b -> Producer m a b

    streamly-core Streamly.Internal.Data.Producer

    Map the producer input to another value of the same type. Pre-release

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

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

  6. ConcatMapUInner :: o -> i -> ConcatMapUState o i

    streamly-core Streamly.Internal.Data.Stream

    No documentation available.

  7. ConcatMapUOuter :: o -> ConcatMapUState o i

    streamly-core Streamly.Internal.Data.Stream

    No documentation available.

  8. data ConcatMapUState o i

    streamly-core Streamly.Internal.Data.Stream

    No documentation available.

  9. concatMap :: forall (m :: Type -> Type) a b . Monad m => (a -> Stream m b) -> Stream m a -> Stream m b

    streamly-core Streamly.Internal.Data.Stream

    Map a stream producing function on each element of the stream and then flatten the results into a single stream.

    >>> concatMap f = Stream.concatMapM (return . f)
    
    >>> concatMap f = Stream.concat . fmap f
    
    >>> concatMap f = Stream.unfoldMany (Unfold.lmap f Unfold.fromStream)
    
    See unfoldMany for a fusible alternative.

  10. concatMap :: forall (m :: Type -> Type) a b . Monad m => (a -> Stream m b) -> Stream m a -> Stream m b

    streamly-core Streamly.Internal.Data.Stream

    Map a stream producing function on each element of the stream and then flatten the results into a single stream.

    >>> concatMap f = Stream.concatMapM (return . f)
    
    >>> concatMap f = Stream.concat . fmap f
    
    >>> concatMap f = Stream.unfoldMany (Unfold.lmap f Unfold.fromStream)
    
    See unfoldMany for a fusible alternative.

Page 1090 of many | Previous | Next