Package Info

ghc-rfc5051


Simple unicode collation as per RFC5051


Unspecified

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&gt;). 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&#233; oeb &#193;be &#196;be &#212;eb &#225;be &#228;be &#244;eb'.

Here is the same list sorted by 'sortBy compareUnicode':

'Abe abe ab&#233; &#193;be &#225;be &#196;be &#228;be Oeb oeb &#212;eb &#244;eb'.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/rfc5051

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.1.0.3-bp150.2.4 info GA Release 2018-08-01 15
  • AArch64
  • ghc-rfc5051
  • ghc-rfc5051-devel
0.1.0.3-bp150.2.6 info GA Release 2018-07-30 15
  • ppc64le
  • x86-64
  • ghc-rfc5051
  • ghc-rfc5051-devel
0.1.0.4-bp151.1.12 info GA Release 2019-05-31 15 SP1
  • AArch64
  • ghc-rfc5051
  • ghc-rfc5051-devel
0.1.0.4-bp151.2.2 info GA Release 2019-07-17 15 SP1
  • ppc64le
  • s390x
  • x86-64
  • ghc-rfc5051
  • ghc-rfc5051-devel
0.1.0.4-bp152.4.12 info GA Release 2020-06-16 15 SP2
  • AArch64
  • ppc64le
  • x86-64
  • ghc-rfc5051
  • ghc-rfc5051-devel
0.1.0.4-bp153.1.20 info GA Release 2021-04-08 15 SP3
  • AArch64
  • ppc64le
  • x86-64
  • ghc-rfc5051
  • ghc-rfc5051-devel