Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 112 lines (106 sloc) 3.32 kB
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
1 name: text
78fe7dd @bos Bump version
authored
2 version: 0.8.0.0
9a4299d @donsbot Add a more thorough description of Data.Text
donsbot authored
3 homepage: http://code.haskell.org/text
4 synopsis: An efficient packed Unicode text type.
5 description:
6 .
7 An efficient packed, immutable Unicode text type (both strict and
8 lazy), with a powerful loop fusion optimization framework.
9 .
10 The 'Text' type represents Unicode character strings, in a time and
11 space-efficient manner. This package provides text processing
12 capabilities that are optimized for performance critical use, both
13 in terms of large data quantities and high speed.
14 .
15 The 'Text' type provides character-encoding, type-safe case
16 conversion via whole-string case conversion functions. It also
17 provides a range of functions for converting Text values to and from
18 'ByteStrings', using several standard encodings (see the 'text-icu'
19 package for a much larger variety of encoding functions).
20 .
21 Efficient locale-sensitive support for text IO is also supported.
22 .
23 This module is intended to be imported qualified, to avoid name
24 clashes with Prelude functions, e.g.
25 .
26 > import qualified Data.Text as T
27 .
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
28 license: BSD3
29 license-file: LICENSE
44429be @bos Update Tom's email address
authored
30 author: Tom Harper <rtomharper@googlemail.com>
112f417 @bos Hide most internals for now
authored
31 maintainer: Bryan O'Sullivan <bos@serpentine.com>
44429be @bos Update Tom's email address
authored
32 Tom Harper <rrtomharper@googlemail.com>
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
33 Duncan Coutts <duncan@haskell.org>
bc07b97 @bos Drop unmanaged files
authored
34 copyright: 2008-2009 Tom Harper, 2009-2010 Bryan O'Sullivan
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
35 category: Data, Text
36 build-type: Simple
ff15b23 @bos Fix some cabal warnings.
authored
37 cabal-version: >= 1.2.3
7f28cf9 @bos Add previously missed source files.
authored
38 extra-source-files:
39 README
40 TODO
41 scripts/ApiCompare.hs
42 scripts/Arsec.hs
43 scripts/CaseFolding.hs
bc07b97 @bos Drop unmanaged files
authored
44 -- scripts/CaseFolding.txt
7f28cf9 @bos Add previously missed source files.
authored
45 scripts/CaseMapping.hs
46 scripts/SpecialCasing.hs
bc07b97 @bos Drop unmanaged files
authored
47 -- scripts/SpecialCasing.txt
7f28cf9 @bos Add previously missed source files.
authored
48 tests/Makefile
ac754aa @bos Add a file to the source disty.
authored
49 tests/Benchmarks.hs
7f28cf9 @bos Add previously missed source files.
authored
50 tests/Properties.hs
51 tests/QuickCheckUtils.hs
52 tests/SlowFunctions.hs
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
53
6277ad0 @bos If built with -fdeveloper, be strict.
authored
54 flag developer
55 description: operate in developer mode
56 default: False
57
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
58 library
59 exposed-modules:
60 Data.Text
a70e3a0 @bos Split encoding support out into new modules
authored
61 Data.Text.Encoding
8766bac @bos Add controllable error handling and recovery code.
authored
62 Data.Text.Encoding.Error
749282a @bos Add Data.Text.Foreign
authored
63 Data.Text.Foreign
8d53bbd @bos Stub in strict I/O support.
authored
64 Data.Text.IO
1175a74 @bos First stab at lazy text support
authored
65 Data.Text.Lazy
561a93b @bos Make Builder public
authored
66 Data.Text.Lazy.Builder
4195943 @bos Start lazy encoding code
authored
67 Data.Text.Lazy.Encoding
527b021 @bos Early lazy I/O support.
authored
68 Data.Text.Lazy.IO
112f417 @bos Hide most internals for now
authored
69 other-modules:
70 Data.Text.Array
ec865ba @bos Hide some more internals.
authored
71 Data.Text.Encoding.Fusion
4195943 @bos Start lazy encoding code
authored
72 Data.Text.Encoding.Fusion.Common
ec865ba @bos Hide some more internals.
authored
73 Data.Text.Encoding.Utf16
74 Data.Text.Encoding.Utf32
75 Data.Text.Encoding.Utf8
76 Data.Text.Fusion
7c53770 @bos Support for case conversion
authored
77 Data.Text.Fusion.CaseMapping
ec865ba @bos Hide some more internals.
authored
78 Data.Text.Fusion.Common
79 Data.Text.Fusion.Internal
d2e7cbe @bos ZOMG size isn't everything.
authored
80 Data.Text.Fusion.Size
57f6c8f @bos Begin refactoring of hGetLine.
authored
81 Data.Text.IO.Internal
ec865ba @bos Hide some more internals.
authored
82 Data.Text.Internal
83 Data.Text.Lazy.Encoding.Fusion
84 Data.Text.Lazy.Fusion
1175a74 @bos First stab at lazy text support
authored
85 Data.Text.Lazy.Internal
fa33b75 @bos Add the beginnings of the lazy search code.
authored
86 Data.Text.Lazy.Search
dce830f @bos Finish off the search code, and hide it.
authored
87 Data.Text.Search
4a94bd4 @bos A giant orgy of hacking that's impossible to split apart
authored
88 Data.Text.Unsafe
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
89 Data.Text.UnsafeChar
62aa968 @bos Use unchecked shifts for a speedup.
authored
90 Data.Text.UnsafeShift
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
91
92 build-depends:
a986b8c @bos Eliminate dependency on the array package
authored
93 base < 5,
2d354b2 @bos Get the code compiling under GHC 6.8.3.
authored
94 bytestring >= 0.9 && < 1.0
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
95 if impl(ghc >= 6.10)
96 build-depends:
2d354b2 @bos Get the code compiling under GHC 6.8.3.
authored
97 ghc-prim, base >= 4, deepseq >= 1.1.0.0
98 cpp-options: -DHAVE_DEEPSEQ
99 else
100 build-depends: extensible-exceptions
ff15b23 @bos Fix some cabal warnings.
authored
101 extensions: PatternSignatures
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
102
240b839 @bos Gather extensive profiling data for now
authored
103 -- gather extensive profiling data for now
104 ghc-prof-options: -auto-all
105
571b1e7 @bos Make the code safe for -Wall
authored
106 ghc-options: -Wall -funbox-strict-fields -O2
24b94cc @dcoutts Add cabal file and LICENSE
dcoutts authored
107 if impl(ghc >= 6.8)
108 ghc-options: -fwarn-tabs
6277ad0 @bos If built with -fdeveloper, be strict.
authored
109 if flag(developer)
110 ghc-options: -Werror
a99b318 @bos Make use of assert conditional
authored
111 cpp-options: -DASSERTS
Something went wrong with that request. Please try again.