HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Moduletext-2.1.4Haskell2010

Data.Text.Internal.IO

Warning: this is an internal module, and does not have a stable API or name. Functions in this module may not check or enforce preconditions expected by public modules. Use at your own risk!

Low-level support for text I/O.

Synopsis
  • Packagetext-2.1.4
  • Exports5
  • LanguageHaskell2010
  • LicenceBSD-2-Clause
  • SourceIO.hs
valuehGetLineWith :: ([Text] -> t) -> Handle -> IO t

Read a single line of input from a handle, constructing a list of decoded chunks as we go. When we're done, transform them into the destination type.