Content-Length: 7330 | pFad | http://hackage.haskell.org/package/text-1.2.4.0/docs/Data-Text-Internal-IO.html

Data.Text.Internal.IO

text-1.2.4.0: An efficient packed Unicode text type.

Copyright(c) 2009 2010 Bryan O'Sullivan
(c) 2009 Simon Marlow
LicenseBSD-style
Maintainerbos@serpentine.com
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

Data.Text.Internal.IO

Description

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

Documentation

hGetLineWith :: ([Text] -> t) -> Handle -> IO t Source #

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.

readChunk :: Handle__ -> CharBuffer -> IO Text Source #

Read a single chunk of strict text from a buffer. Used by both the strict and lazy implementations of hGetContents.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://hackage.haskell.org/package/text-1.2.4.0/docs/Data-Text-Internal-IO.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy