The text package

[Tags:bsd3, library, test]

An efficient packed Unicode text type.

[Skip to Readme]


Versions 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Dependencies base (<4.3), bytestring (>=0.9 && <1.0), ghc-prim [details]
License BSD3
Copyright 2008-2009 Tom Harper
Author Tom Harper <>
Maintainer Bryan O'Sullivan <> Tom Harper <> Duncan Coutts <>
Category Data, Text
Uploaded Fri Feb 27 07:50:17 UTC 2009 by BryanOSullivan
Updated Tue Jun 30 07:26:59 UTC 2015 by HerbertValerioRiedel to revision 2
Distributions Arch:, Debian:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 326572 total (18641 in the last 30 days)
5 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for text

Readme for text-0.1

Text: Fast, packed Unicode strings, using stream fusion

This package provides the Data.Text library, a library for the space-
and time-efficient manipulation of Unicode text in Haskell.

Normalization, conversion, and collation, oh my!

This library intentionally provides a simple API based on the Haskell
prelude's list manipulation functions.  For more complicated
real-world tasks, such as Unicode normalization, conversion to and
from a larger variety of encodings, and collation, use the text-icu

That library uses the well-respected and liberally licensed ICU
library to provide these facilities.

Source code

darcs get


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.