1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
|
name: text-icu
version: 0.6.3.7
synopsis: Bindings to the ICU library
homepage: https://github.com/bos/text-icu
bug-reports: https://github.com/bos/text-icu/issues
description:
Haskell bindings to the International Components for Unicode (ICU)
libraries. These libraries provide robust and full-featured Unicode
services on a wide variety of platforms.
.
Features include:
.
* Both pure and impure bindings, to allow for fine control over efficiency
and ease of use.
.
* Breaking of strings on character, word, sentence, and line boundaries.
.
* Access to the Unicode Character Database (UCD) of character metadata.
.
* String collation functions, for locales where the conventions for
lexicographic ordering differ from the simple numeric ordering of
character codes.
.
* Character set conversion functions, allowing conversion between
Unicode and over 220 character encodings.
.
* Unicode normalization. (When implementations keep strings in a
normalized form, they can be assured that equivalent strings have a
unique binary representation.)
.
* Regular expression search and replace.
maintainer: Bryan O'Sullivan <bos@serpentine.com>
copyright: 2009-2013 Bryan O'Sullivan
category: Data, Text
license: BSD3
license-file: LICENSE
build-type: Simple
cabal-version: >= 1.10
extra-source-files:
README.markdown include/hs_text_icu.h benchmarks/Breaker.hs
library
default-language: Haskell98
build-depends:
base >= 4 && < 5,
bytestring,
text >= 0.9.1.0
exposed-modules:
Data.Text.ICU
Data.Text.ICU.Break
Data.Text.ICU.Char
Data.Text.ICU.Collate
Data.Text.ICU.Convert
Data.Text.ICU.Error
Data.Text.ICU.Normalize
Data.Text.ICU.Regex
Data.Text.ICU.Types
other-modules:
Data.Text.ICU.Break.Pure
Data.Text.ICU.Break.Types
Data.Text.ICU.Collate.Internal
Data.Text.ICU.Collate.Pure
Data.Text.ICU.Convert.Internal
Data.Text.ICU.Error.Internal
Data.Text.ICU.Internal
Data.Text.ICU.Iterator
Data.Text.ICU.Normalize.Internal
Data.Text.ICU.Regex.Internal
Data.Text.ICU.Regex.Pure
Data.Text.ICU.Text
c-sources: cbits/text_icu.c
include-dirs: include
extra-libraries: icuuc
if os(mingw32)
extra-libraries: icuin icudt
else
extra-libraries: icui18n icudata
ghc-options: -Wall
if impl(ghc >= 6.8)
ghc-options: -fwarn-tabs
test-suite tests
default-language: Haskell98
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Tests.hs
other-modules: Properties QuickCheckUtils
ghc-options:
-Wall -threaded -O0 -rtsopts
build-depends:
HUnit >= 1.2,
QuickCheck >= 2.4,
array,
base >= 4 && < 5,
bytestring,
deepseq,
directory,
ghc-prim,
random,
test-framework >= 0.4,
test-framework-hunit >= 0.2,
test-framework-quickcheck2 >= 0.2,
text,
text-icu
source-repository head
type: git
location: https://github.com/bos/text-icu
source-repository head
type: mercurial
location: https://bitbucket.org/bos/text-icu
|