Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 146 lines (136 sloc) 4.406 kb
24b94cc Duncan Coutts Add cabal file and LICENSE
dcoutts authored
1 name: text
a871416 Bryan O'Sullivan Switch to native code for copying and comparison.
authored
2 version: 0.11.1.2
5ddbf73 Bryan O'Sullivan Bump version, tweak URLs
authored
3 homepage: https://bitbucket.org/bos/text
4 bug-reports: https://bitbucket.org/bos/text/issues
9a4299d Don Stewart 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 Bryan O'Sullivan 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 Don Stewart Add a more thorough description of Data.Text
donsbot authored
20 .
21 Efficient locale-sensitive support for text IO is also supported.
22 .
93f2fe4 Bryan O'Sullivan Add a pointer to text-icu.
authored
23 These modules are intended to be imported qualified, to avoid name
9a4299d Don Stewart 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 Bryan O'Sullivan 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 .
24b94cc Duncan Coutts Add cabal file and LICENSE
dcoutts authored
34 license: BSD3
35 license-file: LICENSE
bf417bc Bryan O'Sullivan Fix up repo locations.
authored
36 author: Bryan O'Sullivan <bos@serpentine.com>
112f417 Bryan O'Sullivan Hide most internals for now
authored
37 maintainer: Bryan O'Sullivan <bos@serpentine.com>
a5bc707 Bryan O'Sullivan Fix typo
authored
38 Tom Harper <rtomharper@googlemail.com>
24b94cc Duncan Coutts Add cabal file and LICENSE
dcoutts authored
39 Duncan Coutts <duncan@haskell.org>
a871416 Bryan O'Sullivan Switch to native code for copying and comparison.
authored
40 copyright: 2009-2011 Bryan O'Sullivan, 2008-2009 Tom Harper
24b94cc Duncan Coutts Add cabal file and LICENSE
dcoutts authored
41 category: Data, Text
42 build-type: Simple
c6ea0e5 Bryan O'Sullivan Bump cabal version
authored
43 cabal-version: >= 1.6
7f28cf9 Bryan O'Sullivan Add previously missed source files.
authored
44 extra-source-files:
a8b0907 Bryan O'Sullivan Rename README.
authored
45 README.markdown
f8d6fe2 Bryan O'Sullivan Package more source files
authored
46 -- scripts/CaseFolding.txt
47 -- scripts/SpecialCasing.txt
03d48b5 Bryan O'Sullivan Clean up the cabal file and make sdist work.
authored
48 scripts/*.hs
49 tests/README.markdown
50 tests/benchmarks/Setup.hs
51 tests/benchmarks/python/*.py
52 tests/benchmarks/ruby/*.rb
53 tests/benchmarks/src/Data/Text/*.hs
54 tests/benchmarks/src/Data/Text/Benchmarks/*.hs
55 tests/benchmarks/text-benchmarks.cabal
a871416 Bryan O'Sullivan Switch to native code for copying and comparison.
authored
56 tests/tests/.ghci
57 tests/tests/Makefile
58 tests/tests/scripts/*.sh
59 tests/tests/src/Data/Text/*.hs
60 tests/tests/src/Data/Text/Tests/*.hs
61 tests/tests/text-tests.cabal
24b94cc Duncan Coutts Add cabal file and LICENSE
dcoutts authored
62
6277ad0 Bryan O'Sullivan If built with -fdeveloper, be strict.
authored
63 flag developer
64 description: operate in developer mode
65 default: False
66
24b94cc Duncan Coutts Add cabal file and LICENSE
dcoutts authored
67 library
a871416 Bryan O'Sullivan Switch to native code for copying and comparison.
authored
68 c-sources: cbits/cbits.c
69
24b94cc Duncan Coutts Add cabal file and LICENSE
dcoutts authored
70 exposed-modules:
71 Data.Text
4213b9e Bryan O'Sullivan Make some of the low-level internals visible.
authored
72 Data.Text.Array
a70e3a0 Bryan O'Sullivan Split encoding support out into new modules
authored
73 Data.Text.Encoding
8766bac Bryan O'Sullivan Add controllable error handling and recovery code.
authored
74 Data.Text.Encoding.Error
749282a Bryan O'Sullivan Add Data.Text.Foreign
authored
75 Data.Text.Foreign
8d53bbd Bryan O'Sullivan Stub in strict I/O support.
authored
76 Data.Text.IO
4213b9e Bryan O'Sullivan Make some of the low-level internals visible.
authored
77 Data.Text.Internal
1175a74 Bryan O'Sullivan First stab at lazy text support
authored
78 Data.Text.Lazy
561a93b Bryan O'Sullivan Make Builder public
authored
79 Data.Text.Lazy.Builder
d922274 Bryan O'Sullivan Add support for rendering of integral and floating point values.
authored
80 Data.Text.Lazy.Builder.Int
81 Data.Text.Lazy.Builder.RealFloat
4195943 Bryan O'Sullivan Start lazy encoding code
authored
82 Data.Text.Lazy.Encoding
527b021 Bryan O'Sullivan Early lazy I/O support.
authored
83 Data.Text.Lazy.IO
4213b9e Bryan O'Sullivan Make some of the low-level internals visible.
authored
84 Data.Text.Lazy.Internal
e3fdf7e Bryan O'Sullivan Add Data.Text.Lazy.Read
authored
85 Data.Text.Lazy.Read
b18bfc1 Bryan O'Sullivan Rename Lex to Read
authored
86 Data.Text.Read
112f417 Bryan O'Sullivan Hide most internals for now
authored
87 other-modules:
ec865ba Bryan O'Sullivan Hide some more internals.
authored
88 Data.Text.Encoding.Fusion
4195943 Bryan O'Sullivan Start lazy encoding code
authored
89 Data.Text.Encoding.Fusion.Common
ec865ba Bryan O'Sullivan Hide some more internals.
authored
90 Data.Text.Encoding.Utf16
91 Data.Text.Encoding.Utf32
92 Data.Text.Encoding.Utf8
93 Data.Text.Fusion
7c53770 Bryan O'Sullivan Support for case conversion
authored
94 Data.Text.Fusion.CaseMapping
ec865ba Bryan O'Sullivan Hide some more internals.
authored
95 Data.Text.Fusion.Common
96 Data.Text.Fusion.Internal
d2e7cbe Bryan O'Sullivan ZOMG size isn't everything.
authored
97 Data.Text.Fusion.Size
57f6c8f Bryan O'Sullivan Begin refactoring of hGetLine.
authored
98 Data.Text.IO.Internal
d922274 Bryan O'Sullivan Add support for rendering of integral and floating point values.
authored
99 Data.Text.Lazy.Builder.Functions
56f9554 Bryan O'Sullivan Oops, missed a file, and cabal didn't tell me\!
authored
100 Data.Text.Lazy.Builder.RealFloat.Functions
ec865ba Bryan O'Sullivan Hide some more internals.
authored
101 Data.Text.Lazy.Encoding.Fusion
102 Data.Text.Lazy.Fusion
fa33b75 Bryan O'Sullivan Add the beginnings of the lazy search code.
authored
103 Data.Text.Lazy.Search
dce830f Bryan O'Sullivan Finish off the search code, and hide it.
authored
104 Data.Text.Search
4a94bd4 Bryan O'Sullivan A giant orgy of hacking that's impossible to split apart
authored
105 Data.Text.Unsafe
a871416 Bryan O'Sullivan Switch to native code for copying and comparison.
authored
106 Data.Text.Unsafe.Base
24b94cc Duncan Coutts Add cabal file and LICENSE
dcoutts authored
107 Data.Text.UnsafeChar
62aa968 Bryan O'Sullivan Use unchecked shifts for a speedup.
authored
108 Data.Text.UnsafeShift
00c70eb Bryan O'Sullivan Add a lazier implementation of intersperse on lists
authored
109 Data.Text.Util
24b94cc Duncan Coutts Add cabal file and LICENSE
dcoutts authored
110
111 build-depends:
d922274 Bryan O'Sullivan Add support for rendering of integral and floating point values.
authored
112 array,
a986b8c Bryan O'Sullivan Eliminate dependency on the array package
authored
113 base < 5,
2d354b2 Bryan O'Sullivan Get the code compiling under GHC 6.8.3.
authored
114 bytestring >= 0.9 && < 1.0
24b94cc Duncan Coutts Add cabal file and LICENSE
dcoutts authored
115 if impl(ghc >= 6.10)
116 build-depends:
2d354b2 Bryan O'Sullivan Get the code compiling under GHC 6.8.3.
authored
117 ghc-prim, base >= 4, deepseq >= 1.1.0.0
118 cpp-options: -DHAVE_DEEPSEQ
119 else
120 build-depends: extensible-exceptions
ff15b23 Bryan O'Sullivan Fix some cabal warnings.
authored
121 extensions: PatternSignatures
24b94cc Duncan Coutts Add cabal file and LICENSE
dcoutts authored
122
571b1e7 Bryan O'Sullivan Make the code safe for -Wall
authored
123 ghc-options: -Wall -funbox-strict-fields -O2
24b94cc Duncan Coutts Add cabal file and LICENSE
dcoutts authored
124 if impl(ghc >= 6.8)
125 ghc-options: -fwarn-tabs
6277ad0 Bryan O'Sullivan If built with -fdeveloper, be strict.
authored
126 if flag(developer)
9de4f8b Bryan O'Sullivan Make the developer flag control -auto-all.
authored
127 ghc-prof-options: -auto-all
6277ad0 Bryan O'Sullivan If built with -fdeveloper, be strict.
authored
128 ghc-options: -Werror
a99b318 Bryan O'Sullivan Make use of assert conditional
authored
129 cpp-options: -DASSERTS
f3dd63d Bryan O'Sullivan Add repo pointer
authored
130
d922274 Bryan O'Sullivan Add support for rendering of integral and floating point values.
authored
131 if impl(ghc >= 6.11)
132 cpp-options: -DINTEGER_GMP
133 build-depends: integer-gmp >= 0.2 && < 0.3
134
135 if impl(ghc >= 6.9) && impl(ghc < 6.11)
136 cpp-options: -DINTEGER_GMP
137 build-depends: integer >= 0.1 && < 0.2
138
f3dd63d Bryan O'Sullivan Add repo pointer
authored
139 source-repository head
bf417bc Bryan O'Sullivan Fix up repo locations.
authored
140 type: mercurial
5ddbf73 Bryan O'Sullivan Bump version, tweak URLs
authored
141 location: https://bitbucket.org/bos/text
bf417bc Bryan O'Sullivan Fix up repo locations.
authored
142
143 source-repository head
144 type: git
5ddbf73 Bryan O'Sullivan Bump version, tweak URLs
authored
145 location: https://github.com/bos/text
Something went wrong with that request. Please try again.