Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 190 lines (174 sloc) 5.61 kb
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
1 name: text
7f2801b @bos Bump version to 0.11.2.2
authored
2 version: 0.11.2.2
4f91a89 @bos Point the master repo and bugtracker at github.
authored
3 homepage: https://github.com/bos/text
4 bug-reports: https://github.com/bos/text/issues
9a4299d @donsbot Add a more thorough description of Data.Text
donsbot authored
5 synopsis: An efficient packed Unicode text type.
716ce6b @bos Drop trailing whitespace
authored
6 description:
9a4299d @donsbot Add a more thorough description of Data.Text
donsbot authored
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
93f2fe4 @bos Add a pointer to text-icu.
authored
18 provides a range of functions for converting 'Text' values to and from
19 'ByteStrings', using several standard encodings.
9a4299d @donsbot Add a more thorough description of Data.Text
donsbot authored
20 .
21 Efficient locale-sensitive support for text IO is also supported.
22 .
93f2fe4 @bos Add a pointer to text-icu.
authored
23 These modules are intended to be imported qualified, to avoid name
9a4299d @donsbot Add a more thorough description of Data.Text
donsbot authored
24 clashes with Prelude functions, e.g.
25 .
26 > import qualified Data.Text as T
27 .
93f2fe4 @bos Add a pointer to text-icu.
authored
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 .
6f64406 @bos Bump version to 0.11.2.0, add release notes
authored
34 &#8212;&#8212; RELEASE NOTES &#8212;&#8212;
35 .
36 Changes in 0.11.2.0:
37 .
38 * String literals are now converted directly from the format in
39 which GHC stores them into 'Text', without an intermediate
40 transformation through 'String', and without inlining of
41 conversion code at each site where a string literal is declared.
42 .
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
43 license: BSD3
44 license-file: LICENSE
bf417bc @bos Fix up repo locations.
authored
45 author: Bryan O'Sullivan <bos@serpentine.com>
112f417 @bos Hide most internals for now
authored
46 maintainer: Bryan O'Sullivan <bos@serpentine.com>
a871416 @bos Switch to native code for copying and comparison.
authored
47 copyright: 2009-2011 Bryan O'Sullivan, 2008-2009 Tom Harper
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
48 category: Data, Text
49 build-type: Simple
cd48c48 @bos Add top-level QuickCheck test support.
authored
50 cabal-version: >= 1.8
7f28cf9 @bos Add previously missed source files.
authored
51 extra-source-files:
f8d6fe2 @bos Package more source files
authored
52 -- scripts/CaseFolding.txt
53 -- scripts/SpecialCasing.txt
0922578 @bos Make the benchmarks subtree saner
authored
54 README.markdown
55 benchmarks/Setup.hs
56 benchmarks/cbits/*.c
57 benchmarks/python/*.py
58 benchmarks/ruby/*.rb
59 benchmarks/src/Data/Text/*.hs
60 benchmarks/src/Data/Text/Benchmarks/*.hs
61 benchmarks/text-benchmarks.cabal
03d48b5 @bos Clean up the cabal file and make sdist work.
authored
62 scripts/*.hs
9e31c7f @bos Get benchmarks going again
authored
63 tests-and-benchmarks.markdown
a827b2e @bos Reorganize tests subtree
authored
64 tests/.ghci
65 tests/Makefile
66 tests/scripts/*.sh
67 tests/src/Data/Text/*.hs
68 tests/src/Data/Text/Tests/*.hs
69 tests/text-tests.cabal
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
70
6277ad0 @bos If built with -fdeveloper, be strict.
authored
71 flag developer
72 description: operate in developer mode
73 default: False
74
513b652 @TomMD Use integer-simple if the integer-simple flag is set.
TomMD authored
75 flag integer-simple
76 description: Use the simple integer library instead of GMP
77 default: False
78
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
79 library
a871416 @bos Switch to native code for copying and comparison.
authored
80 c-sources: cbits/cbits.c
81
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
82 exposed-modules:
83 Data.Text
4213b9e @bos Make some of the low-level internals visible.
authored
84 Data.Text.Array
a70e3a0 @bos Split encoding support out into new modules
authored
85 Data.Text.Encoding
8766bac @bos Add controllable error handling and recovery code.
authored
86 Data.Text.Encoding.Error
749282a @bos Add Data.Text.Foreign
authored
87 Data.Text.Foreign
8d53bbd @bos Stub in strict I/O support.
authored
88 Data.Text.IO
4213b9e @bos Make some of the low-level internals visible.
authored
89 Data.Text.Internal
1175a74 @bos First stab at lazy text support
authored
90 Data.Text.Lazy
561a93b @bos Make Builder public
authored
91 Data.Text.Lazy.Builder
d922274 @bos Add support for rendering of integral and floating point values.
authored
92 Data.Text.Lazy.Builder.Int
93 Data.Text.Lazy.Builder.RealFloat
4195943 @bos Start lazy encoding code
authored
94 Data.Text.Lazy.Encoding
527b021 @bos Early lazy I/O support.
authored
95 Data.Text.Lazy.IO
4213b9e @bos Make some of the low-level internals visible.
authored
96 Data.Text.Lazy.Internal
e3fdf7e @bos Add Data.Text.Lazy.Read
authored
97 Data.Text.Lazy.Read
b18bfc1 @bos Rename Lex to Read
authored
98 Data.Text.Read
112f417 @bos Hide most internals for now
authored
99 other-modules:
ec865ba @bos Hide some more internals.
authored
100 Data.Text.Encoding.Fusion
4195943 @bos Start lazy encoding code
authored
101 Data.Text.Encoding.Fusion.Common
ec865ba @bos Hide some more internals.
authored
102 Data.Text.Encoding.Utf16
103 Data.Text.Encoding.Utf32
104 Data.Text.Encoding.Utf8
105 Data.Text.Fusion
7c53770 @bos Support for case conversion
authored
106 Data.Text.Fusion.CaseMapping
ec865ba @bos Hide some more internals.
authored
107 Data.Text.Fusion.Common
108 Data.Text.Fusion.Internal
d2e7cbe @bos ZOMG size isn't everything.
authored
109 Data.Text.Fusion.Size
57f6c8f @bos Begin refactoring of hGetLine.
authored
110 Data.Text.IO.Internal
d922274 @bos Add support for rendering of integral and floating point values.
authored
111 Data.Text.Lazy.Builder.Functions
56f9554 @bos Oops, missed a file, and cabal didn't tell me\!
authored
112 Data.Text.Lazy.Builder.RealFloat.Functions
ec865ba @bos Hide some more internals.
authored
113 Data.Text.Lazy.Encoding.Fusion
114 Data.Text.Lazy.Fusion
fa33b75 @bos Add the beginnings of the lazy search code.
authored
115 Data.Text.Lazy.Search
2ceb577 @bos Many improvements, all small.
authored
116 Data.Text.Private
dce830f @bos Finish off the search code, and hide it.
authored
117 Data.Text.Search
4a94bd4 @bos A giant orgy of hacking that's impossible to split apart
authored
118 Data.Text.Unsafe
a871416 @bos Switch to native code for copying and comparison.
authored
119 Data.Text.Unsafe.Base
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
120 Data.Text.UnsafeChar
62aa968 @bos Use unchecked shifts for a speedup.
authored
121 Data.Text.UnsafeShift
00c70eb @bos Add a lazier implementation of intersperse on lists
authored
122 Data.Text.Util
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
123
124 build-depends:
d922274 @bos Add support for rendering of integral and floating point values.
authored
125 array,
a986b8c @bos Eliminate dependency on the array package
authored
126 base < 5,
c1b5863 @bos Bump dependency on bytestring
authored
127 bytestring >= 0.9
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
128 if impl(ghc >= 6.10)
129 build-depends:
2d354b2 @bos Get the code compiling under GHC 6.8.3.
authored
130 ghc-prim, base >= 4, deepseq >= 1.1.0.0
131 cpp-options: -DHAVE_DEEPSEQ
132 else
133 build-depends: extensible-exceptions
ff15b23 @bos Fix some cabal warnings.
authored
134 extensions: PatternSignatures
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
135
571b1e7 @bos Make the code safe for -Wall
authored
136 ghc-options: -Wall -funbox-strict-fields -O2
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
137 if impl(ghc >= 6.8)
138 ghc-options: -fwarn-tabs
6277ad0 @bos If built with -fdeveloper, be strict.
authored
139 if flag(developer)
9de4f8b @bos Make the developer flag control -auto-all.
authored
140 ghc-prof-options: -auto-all
6277ad0 @bos If built with -fdeveloper, be strict.
authored
141 ghc-options: -Werror
a99b318 @bos Make use of assert conditional
authored
142 cpp-options: -DASSERTS
f3dd63d @bos Add repo pointer
authored
143
d922274 @bos Add support for rendering of integral and floating point values.
authored
144 if impl(ghc >= 6.11)
513b652 @TomMD Use integer-simple if the integer-simple flag is set.
TomMD authored
145 if flag(integer-simple)
146 cpp-options: -DINTEGER_SIMPLE
147 build-depends: integer-simple >= 0.1 && < 0.5
148 else
149 cpp-options: -DINTEGER_GMP
150 build-depends: integer-gmp >= 0.2 && < 0.5
716ce6b @bos Drop trailing whitespace
authored
151
d922274 @bos Add support for rendering of integral and floating point values.
authored
152
153 if impl(ghc >= 6.9) && impl(ghc < 6.11)
154 cpp-options: -DINTEGER_GMP
155 build-depends: integer >= 0.1 && < 0.2
156
cd48c48 @bos Add top-level QuickCheck test support.
authored
157 test-suite tests
158 type: exitcode-stdio-1.0
159 hs-source-dirs: . tests/tests/src
160 main-is: Data/Text/Tests.hs
161 c-sources: cbits/cbits.c
162
163 ghc-options:
164 -Wall -threaded -O0 -rtsopts
165
166 cpp-options:
167 -DASSERTS -DHAVE_DEEPSEQ
168
169 build-depends:
170 base >= 4 && < 5,
c1b5863 @bos Bump dependency on bytestring
authored
171 bytestring >= 0.9,
97c90a4 @bos Loosen constraints on deepseq
authored
172 deepseq >= 1.1,
13b21b4 @bos Get the tests working with GHC 7.0
authored
173 ghc-prim,
73d7013 @bos Widen dependency on directory
authored
174 directory >= 1.0 && < 1.2,
139bd93 @bos Expand dependency on test-framework
authored
175 ghc-prim,
cd48c48 @bos Add top-level QuickCheck test support.
authored
176 random >= 1.0 && < 1.1,
177 QuickCheck >= 2.4 && < 2.5,
178 HUnit >= 1.2 && < 1.3,
139bd93 @bos Expand dependency on test-framework
authored
179 test-framework >= 0.4 && < 0.7,
cd48c48 @bos Add top-level QuickCheck test support.
authored
180 test-framework-quickcheck2 >= 0.2 && < 0.3,
181 test-framework-hunit >= 0.2 && < 0.3
182
f3dd63d @bos Add repo pointer
authored
183 source-repository head
bf417bc @bos Fix up repo locations.
authored
184 type: git
5ddbf73 @bos Bump version, tweak URLs
authored
185 location: https://github.com/bos/text
4f91a89 @bos Point the master repo and bugtracker at github.
authored
186
187 source-repository head
188 type: mercurial
189 location: https://bitbucket.org/bos/text
Something went wrong with that request. Please try again.