package camomile

  1. Overview
  2. Docs
A Unicode library

Install

Dune Dependency

Authors

Maintainers

Sources

camomile-rel-1.0.0.tbz
sha256=718f8d0222d49cf2633462231f10e08c2f09aa824f1d11ac707cdc689a378ef0
md5=ade54c020169c5c7c5563751cd79f510

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.