text-utf8: An efficient packed UTF-8 backed Unicode text type.
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users.
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.
Properties
Versions | 1.2.3.0, 1.2.3.0 |
---|---|
Change log | changelog.md |
Dependencies | array (>=0.5.0.0 && <0.6), base (>=4.7.0.0 && <4.12), 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> |
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:07:12Z |
Modules
[Index]
- Data
- Data.Text
- Data.Text.Array
- Data.Text.Encoding
- Data.Text.Foreign
- Data.Text.IO
- Data.Text.Internal
- Data.Text.Lazy
- Data.Text.Read
- Data.Text.Unsafe
- Data.Text
Flags
Manual Flags
Name | Description | Default |
---|---|---|
developer | operate in developer mode | Disabled |
Automatic Flags
Name | Description | Default |
---|---|---|
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
- text-utf8-1.2.3.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees