name: text version: 1.2.4.0 visibility: public id: text-1.2.4.0 key: text-1.2.4.0 license: BSD-2-Clause copyright: 2009-2011 Bryan O'Sullivan, 2008-2009 Tom Harper maintainer: Bryan O'Sullivan , Herbert Valerio Riedel author: Bryan O'Sullivan homepage: https://github.com/haskell/text synopsis: An efficient packed Unicode text type. description: An efficient packed, immutable Unicode text type (both strict and lazy), with a powerful loop fusion optimization framework. 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 == ICU Support 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](https://hackage.haskell.org/package/text-icu) based on the well-respected and liberally licensed [ICU library](http://site.icu-project.org/). == Internal Representation: UTF-16 vs. UTF-8 Currently the @text@ library uses UTF-16 as its internal representation which is [neither a fixed-width nor always the most dense representation](http://utf8everywhere.org/) for Unicode text. We're currently investigating the feasibility of [changing Text's internal representation to UTF-8](https://github.com/text-utf8) and if you need such a 'Text' type right now you might be interested in using the spin-off packages and . category: Data, Text abi: a27d8faf4a61dfb4d37bbb5d42c17a5b exposed: True exposed-modules: Data.Text Data.Text.Array Data.Text.Encoding Data.Text.Encoding.Error Data.Text.Foreign Data.Text.IO Data.Text.Internal Data.Text.Internal.Builder Data.Text.Internal.Builder.Functions Data.Text.Internal.Builder.Int.Digits Data.Text.Internal.Builder.RealFloat.Functions Data.Text.Internal.Encoding.Fusion Data.Text.Internal.Encoding.Fusion.Common Data.Text.Internal.Encoding.Utf16 Data.Text.Internal.Encoding.Utf32 Data.Text.Internal.Encoding.Utf8 Data.Text.Internal.Functions Data.Text.Internal.Fusion Data.Text.Internal.Fusion.CaseMapping Data.Text.Internal.Fusion.Common Data.Text.Internal.Fusion.Size Data.Text.Internal.Fusion.Types Data.Text.Internal.IO Data.Text.Internal.Lazy Data.Text.Internal.Lazy.Encoding.Fusion Data.Text.Internal.Lazy.Fusion Data.Text.Internal.Lazy.Search Data.Text.Internal.Private Data.Text.Internal.Read Data.Text.Internal.Search Data.Text.Internal.Unsafe Data.Text.Internal.Unsafe.Char Data.Text.Internal.Unsafe.Shift Data.Text.Lazy Data.Text.Lazy.Builder Data.Text.Lazy.Builder.Int Data.Text.Lazy.Builder.RealFloat Data.Text.Lazy.Encoding Data.Text.Lazy.IO Data.Text.Lazy.Internal Data.Text.Lazy.Read Data.Text.Read Data.Text.Unsafe hidden-modules: Data.Text.Show import-dirs: /Users/dan/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/text-1.2.4.0 library-dirs: /Users/dan/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/text-1.2.4.0 dynamic-library-dirs: /Users/dan/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/text-1.2.4.0 data-dir: /Users/dan/.ghcup/ghc/8.8.4/share/x86_64-osx-ghc-8.8.4/text-1.2.4.0 hs-libraries: HStext-1.2.4.0 depends: array-0.5.4.0 base-4.13.0.0 binary-0.8.7.0 bytestring-0.10.10.1 deepseq-1.4.4.0 ghc-prim-0.5.3 integer-gmp-1.0.2.0 template-haskell-2.15.0.0 haddock-interfaces: /Users/dan/.ghcup/ghc/8.8.4/share/doc/ghc-8.8.4/html/libraries/text-1.2.4.0/text.haddock haddock-html: /Users/dan/.ghcup/ghc/8.8.4/share/doc/ghc-8.8.4/html/libraries/text-1.2.4.0 pkgroot: "/Users/dan/.ghcup/ghc/8.8.4/lib/ghc-8.8.4"