foundation-0.0.19: Alternative prelude with batteries and no dependencies

Safe HaskellNone
LanguageHaskell2010

Foundation.Conduit.Textual

Synopsis

Documentation

lines :: Monad m => Conduit String String m () Source #

Split conduit of string to its lines

This is very similar to Prelude lines except it work directly on Conduit

Note that if the newline character is not ever appearing in the stream, this function will keep accumulating data until OOM

TODO: make a size-limited function