text-utf8: An efficient packed UTF-8 backed Unicode text type.

[ bsd2, data, deprecated, library, text ] [ Propose Tags ]
Deprecated in favor of text

An efficient packed, immutable UTF-8 backed 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 (see Data.Text). It also provides a range of functions for converting Text values to and from ByteStrings, using several standard encodings (see Data.Text.Encoding).

Efficient locale-sensitive support for text IO is also supported (see Data.Text.IO).

These modules are intended to be imported qualified, to avoid name clashes with Prelude functions, e.g.

import qualified Data.Text as T

Relationship to the standard text package

This is a fork of the text package ported which uses UTF-8 instead of UTF-16 as its internal representation.

This release is intended to be API compatible with the text-1.2.3.0 release.

Another package providing an UTF-8 backed Text type with a diffferent cost-model is the text-short package.

Flags

Manual Flags

NameDescriptionDefault
developer

operate in developer mode

Disabled
Automatic Flags
NameDescriptionDefault
integer-simple

Use the simple integer library instead of integer-gmp

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.2.3.0
Change log changelog.md
Dependencies array (>=0.5.0.0 && <0.6), base (>=4.7.0.0 && <4.13), binary (>=0.7.1.0 && <0.9), bytestring (>=0.10.4 && <0.11), deepseq (>=1.1.0.0 && <1.5), ghc-prim (>=0.3.1.0 && <0.6), integer-gmp (>=0.5.1 && <1.1), integer-simple (>=0.1 && <0.5) [details]
License BSD-2-Clause
Copyright 2009-2011 Bryan O'Sullivan, 2008-2009 Tom Harper
Author Bryan O'Sullivan <bos@serpentine.com>
Maintainer Herbert Valerio Riedel <hvr@gnu.org>
Revised Revision 1 made by HerbertValerioRiedel at 2018-08-12T12:10:12Z
Category Data, Text
Home page https://github.com/text-utf8
Bug tracker https://github.com/text-utf8/text-utf8/issues
Source repo head: git clone https://github.com/text-utf8/text-utf8
Uploaded by HerbertValerioRiedel at 2018-05-14T00:08:47Z
Distributions
Reverse Dependencies 3 direct, 0 indirect [details]
Downloads 930 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-05-14 [all 1 reports]