Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/paurkedal/confero

Unicode collation library for OCaml
https://github.com/paurkedal/confero

ocaml unicode

Last synced: 5 days ago
JSON representation

Unicode collation library for OCaml

Awesome Lists containing this project

README

        

## Synopsis

Confero is an OCaml collation library, implementing the [Unicode Collation
Algorithm (UCA)][uca] including the Default Unicode Collation Element Table
(DUCET).

## Usage

```ocaml
# #require "confero.ducet";;
# Confero.collate "Ångstrom 2" "angström 1";;
- : int = 1
# Confero.collate "Ångstrom 1" "angström 2";;
- : int = -1
```

[uca]: https://unicode.org/reports/tr10/