changelog:
1.2.1.1
* Expose unpackCString#, which you should never use.
1.2.1.0
* Added Binary instances for both Text types. (If you have previously
been using the text-binary package to get a Binary instance, it is
now obsolete.)
1.2.0.6
* Fixed a space leak in UTF-8 decoding
1.2.0.5
* Feature parity: repeat, cycle, iterate are now implemented for lazy
Text, and the Data instance is more complete
* Build speed: an inliner space explosion has been fixed with toCaseFold
* Bug fix: encoding Int to a Builder would infinite-loop if the
integer-simple package was used
* Deprecation: OnEncodeError and EncodeError are deprecated, as they
are never used
* Internals: some types that are used internally in fusion-related
functions have moved around, been renamed, or been deleted (we don't
bump the major version if .Internal modules change)
* Spec compliance: toCaseFold now follows the Unicode 7.0 spec
(updated from 6.3)
1.2.0.4
* Fixed an incompatibility with base < 4.5
changelog:
1.2.0.2
* Bumped lower bound on deepseq to 1.4 for compatibility with the
upcoming GHC 7.10
1.2.0.1
* Fixed a buffer overflow in rendering of large Integers
(https://github.com/bos/text/issues/99)
changelog:
1.2.0.0
* Fixed an integer overflow in the replace function
(https://github.com/bos/text/issues/81)
* Fixed a hang in lazy decodeUtf8With
(https://github.com/bos/text/issues/87)
* Reduced codegen bloat caused by use of empty and single-character
literals
* Added an instance of IsList for GHC 7.8 and above
packaged for wip by pho.
An efficient packed, immutable Unicode text type (both strict and
lazy), with a powerful loop fusion optimization framework.
The Text type represents Unicode character strings, in a time and
space-efficient manner. This package provides text processing
capabilities that are optimized for performance critical use, both in
terms of large data quantities and high speed.
The Text type provides character-encoding, type-safe case conversion
via whole-string case conversion functions. It also provides a range
of functions for converting Text values to and from ByteStrings, using
several standard encodings.
Efficient locale-sensitive support for text IO is also supported.
These modules are 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