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

[ bsd2, data, library, text ] [ Propose Tags ]

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.

Versions 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 Sun Aug 12 12:10:12 UTC 2018
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 Mon May 14 00:08:47 UTC 2018
Distributions NixOS:1.2.3.0
Downloads 117 total (9 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-05-14 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
developer

operate in developer mode

DisabledManual
integer-simple

Use the simple integer library instead of integer-gmp

DisabledAutomatic

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

For package maintainers and hackage trustees