package camomile

  1. Overview
  2. Docs
A Unicode library

Install

Dune Dependency

Authors

Maintainers

Sources

camomile-1.0.1.tbz
sha256=c23b0a39cb36fd130168d3eba7cb4a91fbd35982b6cb2320ce5b06f271965a07
md5=82e016653431353a07f22c259adc6e05

doc/camomile.library/CamomileLibrary/UCol/index.html

Module CamomileLibrary.UCol

Unicode collation algorithm

String comparison by collation as described in UTR #10

type variable_option = [
  1. | `Blanked
  2. | `Non_ignorable
  3. | `Shifted
  4. | `Shift_Trimmed
]

How variables are handled

type precision = [
  1. | `Primary
  2. | `Secondary
  3. | `Tertiary
  4. | `Quaternary
]

Strength of comparison. For European languages, each strength roughly means as `Primary : Ignore accents and case `Secondary : Ignore case but accents are counted in. `Tertiary : Accents and case are counted in. For the case of `Shifted, `Shift_Trimmed, there is the fourth strength. `Quaternary : Variables such as - (hyphen) are counted in.

module type Type = sig ... end
OCaml

Innovation. Community. Security.