conduit-1.3.4.3: Streaming data processing library.
Safe Haskell None
Language Haskell2010

Data.Conduit.Combinators.Stream

Description

These are stream fusion versions of some of the functions in Data.Conduit.Combinators . Many functions don't have stream versions here because instead they have RULES which inline a definition that fuses.

Synopsis

Documentation

sinkVectorNS Source #

Arguments

:: ( Vector v a, PrimMonad m)
=> Int

maximum allowed size

-> StreamConsumer a m (v a)

scanlS :: Monad m => (a -> b -> a) -> a -> StreamConduit b m a Source #

scanlMS :: Monad m => (a -> b -> m a) -> a -> StreamConduit b m a Source #

mapAccumWhileS :: Monad m => (a -> s -> Either s (s, b)) -> s -> StreamConduitT a b m s Source #

mapAccumWhileMS :: Monad m => (a -> s -> m ( Either s (s, b))) -> s -> StreamConduitT a b m s Source #

initReplicateS :: Monad m => m seed -> (seed -> m a) -> Int -> StreamProducer m a Source #

Streaming versions of Data.Conduit.Combinators.Internal.initReplicate

initRepeatS :: Monad m => m seed -> (seed -> m a) -> StreamProducer m a Source #

Streaming versions of Data.Conduit.Combinators.Internal.initRepeat