Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 181 lines (167 sloc) 5.474 kb
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
1 name: text
6f64406 @bos Bump version to 0.11.2.0, add release notes
authored
2 version: 0.11.2.0
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.
6 description:
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:
a8b0907 @bos Rename README.
authored
52 README.markdown
f8d6fe2 @bos Package more source files
authored
53 -- scripts/CaseFolding.txt
54 -- scripts/SpecialCasing.txt
03d48b5 @bos Clean up the cabal file and make sdist work.
authored
55 scripts/*.hs
56 tests/README.markdown
57 tests/benchmarks/Setup.hs
63a89b5 @bos Update
authored
58 tests/benchmarks/cbits/*.c
03d48b5 @bos Clean up the cabal file and make sdist work.
authored
59 tests/benchmarks/python/*.py
60 tests/benchmarks/ruby/*.rb
61 tests/benchmarks/src/Data/Text/*.hs
62 tests/benchmarks/src/Data/Text/Benchmarks/*.hs
63 tests/benchmarks/text-benchmarks.cabal
a871416 @bos Switch to native code for copying and comparison.
authored
64 tests/tests/.ghci
65 tests/tests/Makefile
66 tests/tests/scripts/*.sh
67 tests/tests/src/Data/Text/*.hs
68 tests/tests/src/Data/Text/Tests/*.hs
69 tests/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
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
75 library
a871416 @bos Switch to native code for copying and comparison.
authored
76 c-sources: cbits/cbits.c
77
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
78 exposed-modules:
79 Data.Text
4213b9e @bos Make some of the low-level internals visible.
authored
80 Data.Text.Array
a70e3a0 @bos Split encoding support out into new modules
authored
81 Data.Text.Encoding
8766bac @bos Add controllable error handling and recovery code.
authored
82 Data.Text.Encoding.Error
749282a @bos Add Data.Text.Foreign
authored
83 Data.Text.Foreign
8d53bbd @bos Stub in strict I/O support.
authored
84 Data.Text.IO
4213b9e @bos Make some of the low-level internals visible.
authored
85 Data.Text.Internal
1175a74 @bos First stab at lazy text support
authored
86 Data.Text.Lazy
561a93b @bos Make Builder public
authored
87 Data.Text.Lazy.Builder
d922274 @bos Add support for rendering of integral and floating point values.
authored
88 Data.Text.Lazy.Builder.Int
89 Data.Text.Lazy.Builder.RealFloat
4195943 @bos Start lazy encoding code
authored
90 Data.Text.Lazy.Encoding
527b021 @bos Early lazy I/O support.
authored
91 Data.Text.Lazy.IO
4213b9e @bos Make some of the low-level internals visible.
authored
92 Data.Text.Lazy.Internal
e3fdf7e @bos Add Data.Text.Lazy.Read
authored
93 Data.Text.Lazy.Read
b18bfc1 @bos Rename Lex to Read
authored
94 Data.Text.Read
112f417 @bos Hide most internals for now
authored
95 other-modules:
ec865ba @bos Hide some more internals.
authored
96 Data.Text.Encoding.Fusion
4195943 @bos Start lazy encoding code
authored
97 Data.Text.Encoding.Fusion.Common
ec865ba @bos Hide some more internals.
authored
98 Data.Text.Encoding.Utf16
99 Data.Text.Encoding.Utf32
100 Data.Text.Encoding.Utf8
101 Data.Text.Fusion
7c53770 @bos Support for case conversion
authored
102 Data.Text.Fusion.CaseMapping
ec865ba @bos Hide some more internals.
authored
103 Data.Text.Fusion.Common
104 Data.Text.Fusion.Internal
d2e7cbe @bos ZOMG size isn't everything.
authored
105 Data.Text.Fusion.Size
57f6c8f @bos Begin refactoring of hGetLine.
authored
106 Data.Text.IO.Internal
d922274 @bos Add support for rendering of integral and floating point values.
authored
107 Data.Text.Lazy.Builder.Functions
56f9554 @bos Oops, missed a file, and cabal didn't tell me\!
authored
108 Data.Text.Lazy.Builder.RealFloat.Functions
ec865ba @bos Hide some more internals.
authored
109 Data.Text.Lazy.Encoding.Fusion
110 Data.Text.Lazy.Fusion
fa33b75 @bos Add the beginnings of the lazy search code.
authored
111 Data.Text.Lazy.Search
2ceb577 @bos Many improvements, all small.
authored
112 Data.Text.Private
dce830f @bos Finish off the search code, and hide it.
authored
113 Data.Text.Search
4a94bd4 @bos A giant orgy of hacking that's impossible to split apart
authored
114 Data.Text.Unsafe
a871416 @bos Switch to native code for copying and comparison.
authored
115 Data.Text.Unsafe.Base
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
116 Data.Text.UnsafeChar
62aa968 @bos Use unchecked shifts for a speedup.
authored
117 Data.Text.UnsafeShift
00c70eb @bos Add a lazier implementation of intersperse on lists
authored
118 Data.Text.Util
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
119
120 build-depends:
d922274 @bos Add support for rendering of integral and floating point values.
authored
121 array,
a986b8c @bos Eliminate dependency on the array package
authored
122 base < 5,
2d354b2 @bos Get the code compiling under GHC 6.8.3.
authored
123 bytestring >= 0.9 && < 1.0
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
124 if impl(ghc >= 6.10)
125 build-depends:
2d354b2 @bos Get the code compiling under GHC 6.8.3.
authored
126 ghc-prim, base >= 4, deepseq >= 1.1.0.0
127 cpp-options: -DHAVE_DEEPSEQ
128 else
129 build-depends: extensible-exceptions
ff15b23 @bos Fix some cabal warnings.
authored
130 extensions: PatternSignatures
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
131
571b1e7 @bos Make the code safe for -Wall
authored
132 ghc-options: -Wall -funbox-strict-fields -O2
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
133 if impl(ghc >= 6.8)
134 ghc-options: -fwarn-tabs
6277ad0 @bos If built with -fdeveloper, be strict.
authored
135 if flag(developer)
9de4f8b @bos Make the developer flag control -auto-all.
authored
136 ghc-prof-options: -auto-all
6277ad0 @bos If built with -fdeveloper, be strict.
authored
137 ghc-options: -Werror
a99b318 @bos Make use of assert conditional
authored
138 cpp-options: -DASSERTS
f3dd63d @bos Add repo pointer
authored
139
d922274 @bos Add support for rendering of integral and floating point values.
authored
140 if impl(ghc >= 6.11)
141 cpp-options: -DINTEGER_GMP
40c86e4 @tibbe Bump depedency on integer-gmp
tibbe authored
142 build-depends: integer-gmp >= 0.2 && < 0.5
d922274 @bos Add support for rendering of integral and floating point values.
authored
143
144 if impl(ghc >= 6.9) && impl(ghc < 6.11)
145 cpp-options: -DINTEGER_GMP
146 build-depends: integer >= 0.1 && < 0.2
147
cd48c48 @bos Add top-level QuickCheck test support.
authored
148 test-suite tests
149 type: exitcode-stdio-1.0
150 hs-source-dirs: . tests/tests/src
151 main-is: Data/Text/Tests.hs
152 c-sources: cbits/cbits.c
153
154 ghc-options:
155 -Wall -threaded -O0 -rtsopts
156
157 cpp-options:
158 -DASSERTS -DHAVE_DEEPSEQ
159
160 build-depends:
161 base >= 4 && < 5,
162 bytestring >= 0.9 && < 0.10,
97c90a4 @bos Loosen constraints on deepseq
authored
163 deepseq >= 1.1,
13b21b4 @bos Get the tests working with GHC 7.0
authored
164 ghc-prim,
73d7013 @bos Widen dependency on directory
authored
165 directory >= 1.0 && < 1.2,
139bd93 @bos Expand dependency on test-framework
authored
166 ghc-prim,
cd48c48 @bos Add top-level QuickCheck test support.
authored
167 random >= 1.0 && < 1.1,
168 QuickCheck >= 2.4 && < 2.5,
169 HUnit >= 1.2 && < 1.3,
139bd93 @bos Expand dependency on test-framework
authored
170 test-framework >= 0.4 && < 0.7,
cd48c48 @bos Add top-level QuickCheck test support.
authored
171 test-framework-quickcheck2 >= 0.2 && < 0.3,
172 test-framework-hunit >= 0.2 && < 0.3
173
f3dd63d @bos Add repo pointer
authored
174 source-repository head
bf417bc @bos Fix up repo locations.
authored
175 type: git
5ddbf73 @bos Bump version, tweak URLs
authored
176 location: https://github.com/bos/text
4f91a89 @bos Point the master repo and bugtracker at github.
authored
177
178 source-repository head
179 type: mercurial
180 location: https://bitbucket.org/bos/text
Something went wrong with that request. Please try again.