foldl-transduce-0.6.0.0: Transducers for foldl folds.

Safe HaskellNone
LanguageHaskell98

Control.Foldl.Transduce.ByteString

Contents

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