GeezerVison is showing hackage.haskell.org — text-icu
text-icu: Bindings to the ICU library
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. Security checks for visually confusable (spoofable) strings. Bidirectional Unicode algorithm Calendar objects holding dates and times. Number and calendar formatting.
[ Skip to Readme]
FlagsManual Flags| Name | Description | Default |
|---|
| homebrew | Assume homebrew on macOS. Automatically add usrlocalopt and usrhomebrewopt paths to extra-lib-dirs and include-dirs. | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
DownloadsNote: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees
Candidates
| Versions [RSS] |
0.1, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.0.1, 0.5.0.0, 0.5.0.1, 0.6.0.0, 0.6.0.1, 0.6.2.1, 0.6.3.0, 0.6.3.1, 0.6.3.2, 0.6.3.3, 0.6.3.4, 0.6.3.5, 0.6.3.6, 0.6.3.7, 0.7.0.0, 0.7.0.1, 0.7.1.0, 0.8.0, 0.8.0.1, 0.8.0.2, 0.8.0.3, 0.8.0.4, 0.8.0.5 (info) |
| Change log |
changelog.md |
| Dependencies |
base (>=4.8 && <5), bytestring (>=0.9 && <0.13), deepseq (>=1.4.2.0 && <1.6), text (>=0.9.1.0 && <1.3 || >=2.0 && <2.2), time (>=1.5 && <1.16) [details] |
| Tested with |
ghc ==9.14.1, ghc ==9.12.2, ghc ==9.10.3, ghc ==9.8.4, ghc ==9.6.7, ghc ==9.4.8, ghc ==9.2.8, ghc ==9.0.2, ghc ==8.10.7, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4, ghc ==8.2.2, ghc ==8.0.2, ghc ==7.10.3
|
| License |
BSD-3-Clause |
| Copyright |
2009-2015 Bryan O'Sullivan |
| Author |
|
| Maintainer |
Vladimir Shabanov <[email protected]> |
| Uploaded |
by VladimirShabanov at 2024-04-06T13:00:38Z |
| Revised |
Revision 2 made by AndreasAbel at 2026-01-07T08:31:51Z |
| Category |
Data, Text |
| Home page |
https://github.com/haskell/text-icu
|
| Bug tracker |
https://github.com/haskell/text-icu/issues
|
| Source repo |
head: git clone https://github.com/haskell/text-icu |
| Distributions |
Arch:0.8.0.5, Fedora:0.8.0.5, LTSHaskell:0.8.0.5, Stackage:0.8.0.5 |
| Reverse Dependencies |
44 direct, 2671 indirect [details] |
| Downloads |
49165 total (183 in the last 30 days) |
| Rating |
2.25 (votes: 2)
[estimated by Bayesian average] |
| Your Rating |
|
| Status |
Docs uploaded by user Build status unknown [no reports yet] |
Readme for text-icu-0.8.0.5
[ back to package description]
Text-ICU: Comprehensive support for string manipulation
This package provides the Data.Text.ICU library, for performing
complex manipulation of Unicode text. It provides features such as
the following:
Prerequisites
This library is implemented as bindings to the well-respected ICU
library (which is not bundled, and must
be installed separately).
macOS
brew install icu4c
brew link icu4c --force
You might need:
export PKG_CONFIG_PATH="$(brew --prefix)/opt/icu4c/lib/pkgconfig"
Debian/Ubuntu
sudo apt-get update
sudo apt-get install libicu-dev
Fedora/CentOS
sudo dnf install unzip libicu-devel
Nix/NixOS
nix-shell --packages icu
Windows/MSYS2
Under MSYS2, ICU can be installed via pacman.
pacman --noconfirm -S mingw-w64-x86_64-icu
Depending on the age of the MSYS2 installation, the keyring might need
to be updated to avoid certification issues, and pkg-config might
need to be added. In this case, do this first:
pacman --noconfirm -Sy msys2-keyring
pacman --noconfirm -S mingw-w64-x86_64-pkgconf
Windows/stack
With stack on Windows, which comes with its own bundled MSYS2, the
following commands give up-to-date system dependencies for
text-icu-0.8.0 (tested 2023-09-30):
stack exec -- pacman --noconfirm -Sy msys2-keyring
stack exec -- pacman --noconfirm -S mingw-w64-x86_64-pkgconf
stack exec -- pacman --noconfirm -S mingw-w64-x86_64-icu
Compatibility
Upstream ICU occasionally introduces backwards-incompatible API
breaks. This package tries to stay up to date with upstream, and is
currently more or less in sync with ICU 72.
Minimum required version is ICU 62.
Get involved!
Please report bugs via the
github issue tracker.
Authors
This library was written by Bryan O'Sullivan.
|