A time and space-efficient implementation of Unicode text. Suitable for performance critical use, both in terms of large data quantities and high speed.
Note: Read below the synopsis for important notes on the use of this module.
This module is intended to be imported qualified, to avoid name clashes with Prelude functions, e.g.
> import qualified Data.Text as T
To use an extended and very rich family of functions for working with Unicode text (including normalization, regular expressions, non-standard encodings, text breaking, and locales), see the text-icu package: http://hackage.haskell.org/package/text-icu
Insertion point cursor for text.
A space efficient, packed, unboxed Unicode text type.
Make Text an instance of Stream with Char token type.
A TextEncoding is a specification of a conversion scheme between sequences of bytes and sequences of Unicode characters.
For example, UTF-8 is an encoding of Unicode characters into a sequence of bytes. The TextEncoding for UTF-8 is utf8.
This module corresponds to section 3.8 (Texturing) of the OpenGL 2.1 specs.
The TextDetails data type
A TextDetails represents a fragment of text that will be output at some point.
The texture matrix stack.
Show more results