all -package:text package:conduit
Check that all values in the stream return True.
Subject to shortcut logic: at the first False, consumption of the
stream will stop.
Subject to fusion
Check that all values in the stream return True.
Subject to shortcut logic: at the first False, consumption of the
stream will stop.
Check that all elements in the chunked stream return True.
Subject to shortcut logic: at the first False, consumption of the
stream will stop.
The simplest buffer allocation strategy: whenever a buffer is
requested, allocate a new one that is big enough for the next build
step to execute.
NOTE that this allocation strategy may spill quite some memory upon
direct insertion of a bytestring by the builder. Thats no problem for
garbage collection, but it may lead to unreasonably high memory
consumption in special circumstances.
Allocate a resource and register an action with the
MonadResource to free the resource.
Check that all elements in the chunked stream return True.
Subject to shortcut logic: at the first False, consumption of the
stream will stop.
Subject to fusion
A buffer allocation strategy (buf0, nextBuf) specifies the
initial buffer to use and how to compute a new buffer nextBuf
minSize buf with at least size minSize from a filled
buffer buf. The double nesting of the IO monad helps
to ensure that the reference to the filled buffer buf is lost
as soon as possible, but the new buffer doesn't have to be allocated
too early.