foldl-transduce-0.6.0.1: Transducers for foldl folds.
Safe HaskellNone
LanguageHaskell2010

Control.Foldl.Transduce.ByteString

Description

Pour handles into folds, write to handles using folds.

Synopsis

Reading from handles

drainHandle :: (MonadIO m, ToFoldM m f) => f ByteString r -> ChunkSize -> Handle -> m r Source #

Feed a fold with bytes read from a Handle.

Writing to handles