package camomile

  1. Overview
  2. Docs
A Unicode library

Install

Dune Dependency

Authors

Maintainers

Sources

camomile-1.0.2.tbz
sha256=f0a419b0affc36500f83b086ffaa36c545560cee5d57e84b729e8f851b3d1632
sha512=7586422e68779476206027c6ebbe19b677fbe459153221f7c952c7fae374c5c8232249cb76fdb1f482069707aa1580be827cd39693906142988268b7f0e7f6d0

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.