on 0.11.0.0 help sign in
text/text.cabal
143 lines 4.3 kB history raw
1name: text
2version: 0.11.0.0
3homepage: http://bitbucket.org/bos/text
4bug-reports: http://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.Encoding
83 Data.Text.Encoding.Error
84 Data.Text.Foreign
85 Data.Text.IO
86 Data.Text.Lazy
87 Data.Text.Lazy.Builder
88 Data.Text.Lazy.Encoding
89 Data.Text.Lazy.IO
90 Data.Text.Lazy.Read
91 Data.Text.Read
92 other-modules:
93 Data.Text.Array
94 Data.Text.Encoding.Fusion
95 Data.Text.Encoding.Fusion.Common
96 Data.Text.Encoding.Utf16
97 Data.Text.Encoding.Utf32
98 Data.Text.Encoding.Utf8
99 Data.Text.Fusion
100 Data.Text.Fusion.CaseMapping
101 Data.Text.Fusion.Common
102 Data.Text.Fusion.Internal
103 Data.Text.Fusion.Size
104 Data.Text.IO.Internal
105 Data.Text.Internal
106 Data.Text.Lazy.Encoding.Fusion
107 Data.Text.Lazy.Fusion
108 Data.Text.Lazy.Internal
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 -- gather extensive profiling data for now
128 ghc-prof-options: -auto-all
130 ghc-options: -Wall -funbox-strict-fields -O2
131 if impl(ghc >= 6.8)
132 ghc-options: -fwarn-tabs
133 if flag(developer)
134 ghc-options: -Werror
135 cpp-options: -DASSERTS
137source-repository head
138 type: mercurial
139 location: http://bitbucket.org/bos/text
141source-repository head
142 type: git
143 location: http://github.com/bos/text