HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulefoundation-0.0.30Haskell2010

Foundation.Conduit.Textual

  • 4 values
  • Packagefoundation-0.0.30
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceTextual.hs
valuelines :: Monad m => Conduit String String m ()
#

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