3homepage: https://github.com/bos/text
4bug-reports: https://github.com/bos/text/issues
5synopsis: An efficient packed Unicode text type.
8 An efficient packed, immutable Unicode text type (both strict and
9 lazy), with a powerful loop fusion optimization framework.
11 The 'Text' type represents Unicode character strings, in a time and
12 space-efficient manner. This package provides text processing
13 capabilities that are optimized for performance critical use, both
14 in terms of large data quantities and high speed.
16 The 'Text' type provides character-encoding, type-safe case
17 conversion via whole-string case conversion functions. It also
18 provides a range of functions for converting 'Text' values to and from
19 'ByteStrings', using several standard encodings.
21 Efficient locale-sensitive support for text IO is also supported.
23 These modules are intended to be imported qualified, to avoid name
24 clashes with Prelude functions, e.g.
26 > import qualified Data.Text as T
28 To use an extended and very rich family of functions for working
29 with Unicode text (including normalization, regular expressions,
30 non-standard encodings, text breaking, and locales), see
31 the @text-icu@ package:
32 <http://hackage.haskell.org/package/text-icu>
36author: Bryan O'Sullivan <bos@serpentine.com>
37maintainer: Bryan O'Sullivan <bos@serpentine.com>
38copyright: 2009-2011 Bryan O'Sullivan, 2008-2009 Tom Harper
43 -- scripts/CaseFolding.txt
44 -- scripts/SpecialCasing.txt
48 benchmarks/haskell/*.hs
49 benchmarks/haskell/Benchmarks/*.hs
50 benchmarks/haskell/Benchmarks/Programs/*.hs
51 benchmarks/python/*.py
53 benchmarks/text-benchmarks.cabal
57 tests-and-benchmarks.markdown
62 tests/Tests/Properties/*.hs
65 tests/text-tests.cabal
68 description: operate in developer mode
73 description: Use the simple integer library instead of GMP
78 c-sources: cbits/cbits.c
85 Data.Text.Encoding.Error
89 Data.Text.Internal.Builder
90 Data.Text.Internal.Builder.Functions
91 Data.Text.Internal.Builder.Int.Digits
92 Data.Text.Internal.Builder.RealFloat.Functions
93 Data.Text.Internal.Encoding.Fusion
94 Data.Text.Internal.Encoding.Fusion.Common
95 Data.Text.Internal.Encoding.Utf16
96 Data.Text.Internal.Encoding.Utf32
97 Data.Text.Internal.Encoding.Utf8
98 Data.Text.Internal.Functions
99 Data.Text.Internal.Fusion
100 Data.Text.Internal.Fusion.CaseMapping
101 Data.Text.Internal.Fusion.Common
102 Data.Text.Internal.Fusion.Size
103 Data.Text.Internal.Fusion.Types
104 Data.Text.Internal.IO
105 Data.Text.Internal.Lazy
106 Data.Text.Internal.Lazy.Encoding.Fusion
107 Data.Text.Internal.Lazy.Fusion
108 Data.Text.Internal.Lazy.Search
109 Data.Text.Internal.Private
110 Data.Text.Internal.Read
111 Data.Text.Internal.Search
112 Data.Text.Internal.Unsafe
113 Data.Text.Internal.Unsafe.Char
114 Data.Text.Internal.Unsafe.Shift
116 Data.Text.Lazy.Builder
117 Data.Text.Lazy.Builder.Int
118 Data.Text.Lazy.Builder.RealFloat
119 Data.Text.Lazy.Encoding
121 Data.Text.Lazy.Internal
137 build-depends: bytestring >= 0.10.4.0
139 build-depends: bytestring >= 0.9
141 cpp-options: -DHAVE_DEEPSEQ
142 ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
144 ghc-prof-options: -auto-all
146 cpp-options: -DASSERTS
148 if flag(integer-simple)
149 cpp-options: -DINTEGER_SIMPLE
150 build-depends: integer-simple >= 0.1 && < 0.5
152 cpp-options: -DINTEGER_GMP
153 build-depends: integer-gmp >= 0.2
156 type: exitcode-stdio-1.0
157 hs-source-dirs: tests .
159 c-sources: cbits/cbits.c
160 include-dirs: include
163 -Wall -threaded -O0 -rtsopts
166 -DASSERTS -DHAVE_DEEPSEQ -DTEST_SUITE
180 test-framework >= 0.4,
181 test-framework-hunit >= 0.2,
182 test-framework-quickcheck2 >= 0.2
184 if flag(integer-simple)
185 cpp-options: -DINTEGER_SIMPLE
186 build-depends: integer-simple >= 0.1 && < 0.5
188 cpp-options: -DINTEGER_GMP
189 build-depends: integer-gmp >= 0.2
191source-repository head
193 location: https://github.com/bos/text
195source-repository head
197 location: https://bitbucket.org/bos/text
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list