on builder help sign in
text/text.cabal
141 lines 4.3 kB history raw
1name: text
2version: 0.11.0.9
3homepage: https://bitbucket.org/bos/text
4bug-reports: https://bitbucket.org/bos/text/issues
5synopsis: An efficient packed Unicode text type.
6description:
7 .
8 An efficient packed, immutable Unicode text type (both strict and
9 lazy), with a powerful loop fusion optimization framework.
10 .
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.
15 .
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.
20 .
21 Efficient locale-sensitive support for text IO is also supported.
22 .
23 These modules are intended to be imported qualified, to avoid name
24 clashes with Prelude functions, e.g.
25 .
26 > import qualified Data.Text as T
27 .
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>
33 .
34license: BSD3
35license-file: LICENSE
36author: Bryan O'Sullivan <bos@serpentine.com>
37maintainer: Bryan O'Sullivan <bos@serpentine.com>
38 Tom Harper <rtomharper@googlemail.com>
39 Duncan Coutts <duncan@haskell.org>
40copyright: 2008-2009 Tom Harper, 2009-2010 Bryan O'Sullivan
41category: Data, Text
42build-type: Simple
43cabal-version: >= 1.6
44extra-source-files:
45 README.markdown
46 -- scripts/CaseFolding.txt
47 -- scripts/SpecialCasing.txt
48 scripts/ApiCompare.hs
49 scripts/Arsec.hs
50 scripts/CaseFolding.hs
51 scripts/CaseMapping.hs
52 scripts/SpecialCasing.hs
53 tests/Benchmarks.hs
54 tests/Makefile
55 tests/Properties.hs
56 tests/QuickCheckUtils.hs
57 tests/SlowFunctions.hs
58 tests/StdioCoverage.hs
59 tests/TestUtils.hs
60 tests/benchmarks/Cut.hs
61 tests/benchmarks/DecodeUtf8.hs
62 tests/benchmarks/EncodeUtf8.hs
63 tests/benchmarks/Equality.hs
64 tests/benchmarks/FileIndices.hs
65 tests/benchmarks/FileRead.hs
66 tests/benchmarks/FoldLines.hs
67 tests/benchmarks/HtmlCombinator.hs
68 tests/benchmarks/Makefile
69 tests/benchmarks/Replace.hs
70 tests/benchmarks/ReplaceTags.hs
71 tests/benchmarks/fileread.py
72 tests/benchmarks/fileread_c.c
73 tests/cover-stdio.sh
75flag developer
76 description: operate in developer mode
77 default: False
79library
80 exposed-modules:
81 Data.Text
82 Data.Text.Array
83 Data.Text.Encoding
84 Data.Text.Encoding.Error
85 Data.Text.Foreign
86 Data.Text.IO
87 Data.Text.Internal
88 Data.Text.Lazy
89 Data.Text.Lazy.Builder
90 Data.Text.Lazy.Encoding
91 Data.Text.Lazy.IO
92 Data.Text.Lazy.Internal
93 Data.Text.Lazy.Read
94 Data.Text.Read
95 other-modules:
96 Data.Text.Encoding.Fusion
97 Data.Text.Encoding.Fusion.Common
98 Data.Text.Encoding.Utf16
99 Data.Text.Encoding.Utf32
100 Data.Text.Encoding.Utf8
101 Data.Text.Fusion
102 Data.Text.Fusion.CaseMapping
103 Data.Text.Fusion.Common
104 Data.Text.Fusion.Internal
105 Data.Text.Fusion.Size
106 Data.Text.IO.Internal
107 Data.Text.Lazy.Encoding.Fusion
108 Data.Text.Lazy.Fusion
109 Data.Text.Lazy.Search
110 Data.Text.Search
111 Data.Text.Unsafe
112 Data.Text.UnsafeChar
113 Data.Text.UnsafeShift
114 Data.Text.Util
116 build-depends:
117 base < 5,
118 bytestring >= 0.9 && < 1.0
119 if impl(ghc >= 6.10)
120 build-depends:
121 ghc-prim, base >= 4, deepseq >= 1.1.0.0
122 cpp-options: -DHAVE_DEEPSEQ
123 else
124 build-depends: extensible-exceptions
125 extensions: PatternSignatures
127 ghc-options: -Wall -funbox-strict-fields -O2
128 if impl(ghc >= 6.8)
129 ghc-options: -fwarn-tabs
130 if flag(developer)
131 ghc-prof-options: -auto-all
132 ghc-options: -Werror
133 cpp-options: -DASSERTS
135source-repository head
136 type: mercurial
137 location: https://bitbucket.org/bos/text
139source-repository head
140 type: git
141 location: https://github.com/bos/text