Package2.1.4DataText
text
An efficient packed Unicode text type.
- Version2.1.4
- CategoryData, Text
- LicenceBSD-2-Clause
- AuthorBryan O'Sullivan <bos@serpentine.com>
- MaintainerHaskell Text Team <andrew.lelechenko@gmail.com>, Core Libraries Committee
- Homepagegithub.com/haskell/text
- Pinned bywith GHC
- Sourcehackage.haskell.org/package/text-2.1.4
Modules
49 modules- Data.Text111A time and space-efficient implementation of Unicode text.
- Data.Text.Array24Packed, unboxed, heap-resident arrays. Suitable for performance
- Data.Text.Encoding36Functions for converting Text values to and from ByteString,
- Data.Text.Encoding.Error9Types and functions for dealing with encoding and decoding errors
- Data.Text.Foreign13Support for using Text data with native code via the Haskell
- Data.Text.IO13Efficient locale-sensitive support for text I/O. The functions in this module obey the runtime system's locale,
- Data.Text.IO.Utf812Efficient UTF-8 support for text I/O.
- Data.Text.Lazy114A time and space-efficient implementation of Unicode text using
- Data.Text.Lazy.Builder9Efficient construction of lazy Text values. The principal
- Data.Text.Lazy.Builder.Int2
- Data.Text.Lazy.Builder.RealFloat3Write a floating point value to a Builder.
- Data.Text.Lazy.Encoding21Functions for converting lazy Text values to and from lazy
- Data.Text.Lazy.IO12Efficient locale-sensitive support for lazy text I/O. The functions in this module obey the runtime system's locale,
- Data.Text.Lazy.Read6Functions used frequently when reading textual data.
- Data.Text.Read6Functions used frequently when reading textual data.
- Data.Text.Unsafe15A module containing unsafe Text operations, for very very careful
Internal modules · 33
- Data.Text.Internal13A module containing private Text internals. This exposes the
- Data.Text.Internal.ArrayUtils1
- Data.Text.Internal.Builder12Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Builder.Functions2Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Builder.Int.Digits1
- Data.Text.Internal.Builder.RealFloat.Functions1Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.ByteStringCompat2
- Data.Text.Internal.Encoding15Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Encoding.Fusion7Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Encoding.Fusion.Common4Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Encoding.Utf163Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Encoding.Utf321Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Encoding.Utf820Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Fusion14Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Fusion.CaseMapping6
- Data.Text.Internal.Fusion.Common54Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Fusion.Size15Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Fusion.Types7Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.IO5Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Lazy13Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Lazy.Encoding.Fusion6Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Lazy.Fusion8Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Lazy.Search1Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.PrimCompat6
- Data.Text.Internal.Private3
- Data.Text.Internal.Read6Common internal functions for reading textual data.
- Data.Text.Internal.Search1Fast substring search for Text, based on work by Boyer, Moore,
- Data.Text.Internal.StrictBuilder7Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Unsafe3Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Unsafe.Char5Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Validate4Test whether or not a sequence of bytes is a valid UTF-8 byte sequence.
- Data.Text.Internal.Validate.Native2Native implementation of Data.Text.Internal.Validate.
- Data.Text.Lazy.Internal0This module has been renamed to Data.Text.Internal.Lazy. This
Description
An efficient packed, immutable Unicode text type (both strict and lazy).
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
To use an extended and very rich family of functions for working with Unicode text (including normalization, regular expressions, non-standard encodings, text breaking, and locales), see the text-icu package based on the well-respected and liberally licensed ICU library.
Depends on
6 packages- array-0.5.8.0with GHC
- base-4.23.0.0with GHC
- binary-0.8.9.3with GHC
- bytestring-0.12.2.0with GHC
- deepseq-1.5.2.0with GHC
- template-haskell-lift-0.1.0.0with GHC
Used by in this set · 26
- Cabal-syntax-3.18.1.0
- aeson-2.3.2.0
- attoparsec-0.14.4
- concurrent-output-1.10.21
- ghc-10.0.0.20260917
- ghc-toolchain-0.1.0.0
- ghcjs-base-0.8.0.4
- haddock-api-2.34.0
- haddock-library-1.11.0
- hashable-1.5.1.0
- hedgehog-1.7
- integer-conversion-0.1.1
- miso-1.12.0.0
- optparse-applicative-0.19.0.0
- parsec-3.1.18.0
- path-0.9.6
- pretty-show-1.10
- prettyprinter-1.7.2
- prettyprinter-ansi-terminal-1.1.4
- scientific-0.3.9.0
- strict-0.5.1
- text-iso8601-0.2.0.0
- text-short-0.1.6.1
- uuid-types-1.0.6.1
- wl-pprint-annotated-0.1.0.2
- xhtml-3000.4.1.0