rfc5051 alternatives and similar packages
Based on the "Text" category.
Alternatively, view rfc5051 alternatives based on common mentions on social networks and blogs.
-
skylighting
A Haskell syntax highlighting library with tokenizers derived from KDE syntax highlighting descriptions -
double-conversion
A fast Haskell library for converting between double precision floating point numbers and text strings. It is implemented as a binding to the V8-derived C++ double-conversion library.
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of rfc5051 or a related project?
README
rfc5051 - Simple unicode collation
This library implements the simple, non locale-sensitive unicode collation algorithm described in RFC 5051. Proper unicode collation can be done using text-icu, but that is a big dependency that depends on a large C library. rfc5051 might be better for some purposes.
Here is a list of lines 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
The library's data module, Data.RFC5051.UnicodeData
, is generated
from the data file UnicodeData.txt
. To regenerate it, use the
Makefile or:
runghc MkUnicodeData.hs > src/Data/RFC5051/UnicodeData.hs