rfc5051: Simple unicode collation as per RFC5051.

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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

Versions 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.2, 0.2
Change log changelog.md
Dependencies base (>=4.2 && <5), containers, text [details]
License BSD-3-Clause
Copyright (C) 2013 John MacFarlane
Author John MacFarlane
Maintainer jgm@berkeley.edu
Category Text
Source repo head: git clone git://github.com/jgm/rfc5051.git
Uploaded by JohnMacFarlane at 2020-08-01T19:35:10Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees