The rfc5051 package

[Tags: bsd3, library]

This library implements i;unicode-casemap, the simple, non locale-sensitive unicode collation algorithm described in RFC 5051 (http://www.rfc-editor.org/rfc/rfc5051.txt). Proper unicode collation can be done using text-icu, but that is a big dependency that depends on a large C library, and rfc5051 might be better for some purposes.

Here is a list of strings sorted by the Prelude's sort function:

Abe Oeb abe abé oeb Ábe Äbe Ôeb ábe äbe ôeb

Here is the same list sorted by sortBy compareUnicode:

Abe abe abé Ábe ábe Äbe äbe Oeb oeb Ôeb ôeb

Properties

Versions0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3
Dependenciesbase (>=4.2 && <5), bytestring (>=0.9 && <0.11), containers (>=0.4 && <0.6)
LicenseBSD3
Copyright(C) 2013 John MacFarlane
AuthorJohn MacFarlane
Maintainerjgm@berkeley.edu
CategoryText
Source repositoryhead: git clone git://github.com/jgm/rfc5051.git
ExecutablesMkUnicodeData
Upload dateWed Sep 18 17:05:35 UTC 2013
Uploaded byJohnMacFarlane
DistributionsNixOS:0.1.0.3
Downloads5390 total (1116 in last 30 days)

Modules

Flags

NameDescriptionDefault
mkunicodedataBuild MkUnicodeData (code generator for Data/RFC5051/UnicodeData)Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees