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 · 73
- Cabal-syntax-3.18.1.0
- ListLike-4.7.8.4
- aeson-2.3.2.0
- alfred-margaret-2.1.1.1
- attoparsec-0.14.4
- attoparsec-aeson-2.2.2.0
- base16-1.0
- base64-1.0
- blaze-builder-0.4.4.1
- blaze-html-0.9.2.0
- blaze-markup-0.8.3.0
- cabal-install-3.18.1.0
- cabal-install-solver-3.18.1.0
- cabal2nix-2.21.3
- case-insensitive-1.2.1.0
- cborg-0.2.10.0
- concurrent-output-1.10.21
- conduit-1.3.6.1
- conduit-extra-1.3.8
- cookie-0.5.1
- crypton-2.1.7
- crypton-pem-0.3.0
- fast-logger-3.2.7
- ghc-10.0.0.20260917
- ghc-toolchain-0.1.0.0
- granite-0.7.4.0
- hackage-revdeps-0.4.1
- haddock-api-2.34.0
- haddock-library-1.11.0
- hashable-1.5.1.0
- hedgehog-1.7
- hoogle-5.0.19.0
- horizon-config-0.8.0
- horizon-config-shell-0.12.0
- hpack-0.39.6
- http-client-0.7.19
- http-client-tls-0.4.0
- http-types-0.12.6
- infer-license-0.2.0
- integer-conversion-0.1.1
- lens-5.3.6
- mime-types-0.1.2.2
- mono-traversable-1.0.21.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
- printable-0.1.0.0
- process-extras-0.7.4
- regex-base-0.94.0.3
- rio-0.1.25.0
- scientific-0.3.9.0
- serialise-0.2.6.1
- streaming-commons-0.2.3.1
- strict-0.5.1
- text-iso8601-0.2.0.0
- text-metrics-0.3.3
- text-short-0.1.6.1
- typed-process-0.2.13.0
- uuid-types-1.0.6.1
- vortex-client-0.1.3
- vortex-combinators-0.1.1.0
- vortex-journal-0.1.0
- vortex-keymap-0.1.0
- vortex-ws-0.2.1
- wai-3.2.5
- warp-3.4.16
- websockets-0.13.0.0
- wl-pprint-annotated-0.1.0.2
- xhtml-3000.4.1.0
- yaml-0.11.11.2