@hackage text2.1.4
An efficient packed Unicode text type.
Categories
License
BSD-2-Clause
Maintainer
Haskell Text Team <andrew.lelechenko@gmail.com>, Core Libraries Committee
Links
Versions
Installation
Tested Compilers
Dependencies (9)
- array >=0.3 && <0.6
- base <0
- binary >=0.8.3 && <0.9
- bytestring >=0.10.4 && <0.13
- data-array-byte >=0.1 && <0.2
- deepseq >=1.1 && <1.6 Show all…
Dependents (7364)
@hackage/rest-wai, @hackage/arbor-datadog, @hackage/wild-bind-indicator, @hackage/timeseries, @hackage/pms-domain-service, @hackage/pgmq-hasql, Show all…
Package Flags
developer
(off by default)
operate in developer mode
simdutf
(on by default)
use simdutf library, causes Data.Text.Internal.Validate.Simd to be exposed
pure-haskell
(off by default)
Don't use text's standard C routines NB: This feature is not fully implemented. Several C routines are still in use. When this flag is true, text will use pure Haskell variants of the routines. This is not recommended except for use with GHC's JavaScript backend. This flag also disables simdutf.
extendedbenchmarks
(off by default)
Runs extra benchmarks which can be very slow.
text

Haskell library for space- and time-efficient operations over Unicode text.
Get involved!
Please report bugs via the github issue tracker.
The main repo:
git clone https://github.com/haskell/text
To run benchmarks please clone and unpack test files:
cd text
git clone https://github.com/haskell/text-test-data benchmarks/text-test-data
make -Cbenchmarks/text-test-data
Authors
The base code for this library was originally written by Tom Harper, based on the stream fusion framework developed by Roman Leshchinskiy, Duncan Coutts, and Don Stewart.
The core library was fleshed out, debugged, and tested by Bryan O'Sullivan. Transition from UTF-16 to UTF-8 is by Andrew Lelechenko.