pipes-transduce-0.4: Interfacing pipes with foldl folds.

Safe HaskellNone
LanguageHaskell98

Pipes.Transduce.ByteString

Contents

Synopsis

Collecting input

intoLazyBytes :: Fold1 ByteString e ByteString Source

Collect strict ByteStrings into a lazy ByteString.

>>> PT.fold1  intoLazyBytes (mapM_ yield ["aa","bb","cc"])
("aabbcc",())

Reading from handles