Package2.1.3DataText
text
An efficient packed Unicode text type.
- Version2.1.3
- 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.3
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.Encoding20Functions 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.CaseMapping5
- 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.22.0.0with GHC
- binary-0.8.9.3with GHC
- bytestring-0.12.2.0with GHC
- deepseq-1.5.1.0with GHC
- template-haskell-2.24.0.0with GHC
Used by in this set · 197
- Agda-2.8.0.2
- Cabal-syntax-3.16.0.0
- ListLike-4.7.8.4
- aeson-2.3.2.0
- aeson-pretty-0.8.11
- aeson-typescript-0.6.4.0
- alfred-margaret-2.1.1.1
- attoparsec-0.14.4
- attoparsec-aeson-2.2.2.0
- attoparsec-iso8601-1.1.1.0
- autodocodec-0.6.0.0
- autodocodec-nix-0.1.1.0
- autodocodec-schema-0.2.0.2
- autodocodec-yaml-0.4.0.3
- base16-1.0
- base64-1.0
- blaze-builder-0.4.4.1
- blaze-html-0.9.2.0
- blaze-markup-0.8.3.0
- brick-3.0
- bytes-0.17.5
- cabal-install-3.16.0.0
- cabal-install-solver-3.16.0.0
- cabal2nix-2.21.3
- case-insensitive-1.2.1.0
- cassava-0.5.4.1
- cborg-0.2.10.0
- chell-0.5.0.2
- composite-base-0.8.3.0
- concise-0.1.0.1
- concurrent-output-1.10.21
- conduit-1.3.6.1
- conduit-extra-1.3.8
- config-ini-0.2.7.0
- cookie-0.5.1
- criterion-1.6.5.0
- crypton-2.1.7
- crypton-pem-0.3.0
- css-text-0.1.3.0
- double-conversion-2.0.5.0
- errors-2.3.0
- fast-logger-3.2.7
- fast-myers-diff-0.0.2
- foldl-1.4.18
- formatting-7.2.0
- genvalidity-text-1.0.0.1
- ghc-toolchain-0.1.0.0
- granite-0.7.4.0
- hackage-revdeps-0.4.1
- haddock-library-1.11.0
- hashable-1.5.1.0
- hedgehog-1.7
- hedis-0.16.4
- hoogle-5.0.19.0
- horizon-config-0.8.0
- horizon-config-shell-0.12.1
- hpack-0.39.6
- hspec-wai-0.12.1
- html-conduit-1.3.2.2
- http-api-data-0.7
- http-client-0.7.19
- http-client-tls-0.4.0
- http-common-0.8.3.4
- http-streams-0.8.9.9
- http-types-0.12.6
- hxt-regex-xmlschema-9.2.0.7
- infer-license-0.2.0
- ini-0.5.1
- integer-conversion-0.1.1
- io-streams-1.5.2.2
- jose-0.13
- jose-jwt-0.11.0
- lens-5.3.6
- lens-aeson-1.2.3
- megaparsec-9.8.3
- microlens-platform-0.4.4.2
- microstache-1.0.3.1
- mime-types-0.1.2.2
- monad-logger-0.3.42
- mono-traversable-1.0.21.0
- neat-interpolation-0.5.1.4
- nothunks-0.3.2
- openapi3-3.2.5
- opt-env-conf-0.15.0.3
- optics-extra-0.4.2.1
- optparse-applicative-0.19.0.0
- parsec-3.1.18.0
- parsers-0.12.12
- path-0.9.6
- path-pieces-0.2.1
- persistent-2.18.1.0
- persistent-postgresql-2.14.3.0
- persistent-qq-2.12.0.7
- persistent-sqlite-2.13.3.1
- persistent-test-2.13.2.1
- pgp-wordlist-0.1.0.3
- pipes-attoparsec-0.6.0
- polyparse-1.13.1
- postgresql-simple-0.7.0.1
- postgresql-simple-interval-1.0.1.2
- pretty-show-1.10
- prettyprinter-1.7.2
- prettyprinter-ansi-terminal-1.1.4
- prettyprinter-compat-ansi-wl-pprint-1.0.2
- printable-0.1.0.0
- process-extras-0.7.4
- quickcheck-instances-0.4
- quickcheck-text-0.1.2.1
- readable-0.3.1
- rebase-1.23
- reducers-3.12.5
- regex-base-0.94.0.3
- regex-tdfa-1.3.2.6
- replace-megaparsec-1.5.0.1
- resource-pool-0.5.1.0
- rio-0.1.25.0
- safe-coloured-text-0.6.0.0
- safe-coloured-text-layout-0.2.0.2
- scientific-0.3.9.0
- sdl2-2.5.6.1
- sdl2-image-2.1.0.0
- sdl2-ttf-2.1.3
- selda-0.5.2.1
- serialise-0.2.6.1
- servant-0.20.3.0
- servant-auth-0.4.10.0
- servant-auth-server-0.4.10.0
- servant-client-core-0.20.3.0
- servant-docs-0.13.1
- servant-foreign-0.16.1
- servant-multipart-0.13.0
- servant-multipart-api-0.13.0
- servant-server-0.20.3.0
- shakespeare-2.2.0
- snap-core-1.0.5.1
- snap-server-1.1.2.1
- special-values-0.1.0.0
- stache-2.4.0
- store-0.7.22
- store-core-0.4.4.7
- streaming-commons-0.2.3.1
- strict-0.5.1
- string-conversions-0.4.0.1
- string-interpolate-0.3.4.0
- svg-builder-0.1.1
- swagger2-2.9.1
- sydtest-0.33.0.0
- sydtest-mutation-runtime-0.2.0.0
- system-fileio-0.3.16.7
- system-filepath-0.4.14.1
- tagsoup-0.14.8
- tasty-golden-2.3.6
- tasty-silver-3.3.2.1
- text-conversions-0.3.1.1
- text-iso8601-0.2.0.0
- text-metrics-0.3.3
- text-short-0.1.6.1
- text-zipper-0.13
- th-lift-instances-0.1.20
- th-utilities-0.2.5.2
- tomland-1.3.3.3
- tree-diff-0.4.1
- turtle-1.6.2
- typed-process-0.2.13.0
- uri-encode-1.5.0.7
- uuid-types-1.0.6.1
- validity-text-0.3.1.3
- vcr-0.1.0
- version-natural-0.1.0.0
- 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
- vty-6.6
- vulkan-utils-0.5.11.0
- wai-3.2.5
- wai-app-static-3.2.1
- wai-extra-3.1.18
- warp-3.4.16
- webdriver-0.15.0.0
- websockets-0.13.0.0
- with-utf8-1.1.0.0
- wl-pprint-annotated-0.1.0.2
- word-wrap-0.5
- wreq-0.5.4.5
- xml-1.3.14
- xml-conduit-1.10.1.0
- xml-types-0.3.8
- xmlgen-0.6.2.2
- xss-sanitize-0.3.7.2
- yaml-0.11.11.2
- yesod-1.6.2.3
- yesod-core-1.7.0.0
- yesod-form-1.7.11
- yesod-test-1.7.0.3
- zip-archive-0.5