on master help sign in
Add cabal file and LICENSE

--HG-- extra : convert_revision : ebdf6f9af749c14660ecec4f3debde7e46ca4c10

commit24b94ccb2aa7092affe65a1f4604867f6d706f9d authorDuncan Coutts <duncan@haskell.org> dateSun 18 Jan 2009, 17:58 (18 years ago) parent425fd67
2 files changed+65
LICENSE+26 text.cabal+39
LICENSEnew file+26
@@ -0,0 +1,26 @@
1+Copyright (c) 2008-2009, Tom Harper
2+All rights reserved.
3+
4+Redistribution and use in source and binary forms, with or without
5+modification, are permitted provided that the following conditions
6+are met:
7+
8+ * Redistributions of source code must retain the above copyright
9+ notice, this list of conditions and the following disclaimer.
10+
11+ * Redistributions in binary form must reproduce the above
12+ copyright notice, this list of conditions and the following
13+ disclaimer in the documentation and/or other materials provided
14+ with the distribution.
15+
16+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
text.cabalnew file+39
@@ -0,0 +1,39 @@
1+name: text
2+version: 0.0
3+synopsis: A Unicode Text type
4+description: An effecient string type in the style of "Data.ByteString" but
5+ for Unicode.
6+license: BSD3
7+license-file: LICENSE
8+author: Tom Harper <rtharper@aftereternity.co.uk>
9+maintainer: Tom Harper <rtharper@aftereternity.co.uk>
10+ Bryan O'Sullivan <bos@serpentine.com>
11+ Duncan Coutts <duncan@haskell.org>
12+copyright: 2008-2009 Tom Harper
13+category: Data, Text
14+build-type: Simple
15+cabal-version: >= 1.2
16+
17+library
18+ exposed-modules:
19+ Data.Text
20+ other-modules:
21+ Data.Text.UnsafeChar
22+ Data.Text.Internal
23+ Data.Text.Fusion
24+ Data.Text.Utf8
25+ Data.Text.Utf32
26+ Data.Text.Utf16
27+
28+ build-depends:
29+ base >= 3 && < 4,
30+ array >= 0.1 && < 0.3,
31+ bytestring >= 0.9 && < 1.0
32+ if impl(ghc >= 6.10)
33+ build-depends:
34+ ghc-prim
35+
36+ --TODO: upgrade to -Wall:
37+ ghc-options: -W -fwarn-orphans
38+ if impl(ghc >= 6.8)
39+ ghc-options: -fwarn-tabs