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
- Data.TextA time and space-efficient implementation of Unicode text.
- Data.Text.ArrayPacked, unboxed, heap-resident arrays. Suitable for performance
- Data.Text.EncodingFunctions for converting Text values to and from ByteString,
- Data.Text.Encoding.ErrorTypes and functions for dealing with encoding and decoding errors
- Data.Text.ForeignSupport for using Text data with native code via the Haskell
- Data.Text.IOEfficient locale-sensitive support for text I/O. The functions in this module obey the runtime system's locale,
- Data.Text.IO.Utf8Efficient UTF-8 support for text I/O.
- Data.Text.LazyA time and space-efficient implementation of Unicode text using
- Data.Text.Lazy.BuilderEfficient construction of lazy Text values. The principal
- Data.Text.Lazy.Builder.Int
- Data.Text.Lazy.Builder.RealFloatWrite a floating point value to a Builder.
- Data.Text.Lazy.EncodingFunctions for converting lazy Text values to and from lazy
- Data.Text.Lazy.IOEfficient locale-sensitive support for lazy text I/O. The functions in this module obey the runtime system's locale,
- Data.Text.Lazy.ReadFunctions used frequently when reading textual data.
- Data.Text.ReadFunctions used frequently when reading textual data.
- Data.Text.UnsafeA module containing unsafe Text operations, for very very careful
Internal modules · 33
- Data.Text.InternalA module containing private Text internals. This exposes the
- Data.Text.Internal.ArrayUtils
- Data.Text.Internal.BuilderWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.Builder.FunctionsWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.Builder.Int.Digits
- Data.Text.Internal.Builder.RealFloat.FunctionsWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.ByteStringCompat
- Data.Text.Internal.EncodingWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.Encoding.FusionWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.Encoding.Fusion.CommonWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.Encoding.Utf16Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Encoding.Utf32Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.Encoding.Utf8Warning: this is an internal module, and does not have a stable
- Data.Text.Internal.FusionWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.Fusion.CaseMapping
- Data.Text.Internal.Fusion.CommonWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.Fusion.SizeWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.Fusion.TypesWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.IOWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.LazyWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.Lazy.Encoding.FusionWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.Lazy.FusionWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.Lazy.SearchWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.PrimCompat
- Data.Text.Internal.Private
- Data.Text.Internal.ReadCommon internal functions for reading textual data.
- Data.Text.Internal.SearchFast substring search for Text, based on work by Boyer, Moore,
- Data.Text.Internal.StrictBuilderWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.UnsafeWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.Unsafe.CharWarning: this is an internal module, and does not have a stable
- Data.Text.Internal.ValidateTest whether or not a sequence of bytes is a valid UTF-8 byte sequence.
- Data.Text.Internal.Validate.NativeNative implementation of Data.Text.Internal.Validate.
- Data.Text.Lazy.InternalThis 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