package camomile

  1. Overview
  2. Docs
A Unicode library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v2.1.0.tar.gz
md5=35c450853b72e286bef9b75ae4821621
sha512=fff70942e1866c5ad180a9de392a153809db7858f6d9f1067cd88db8b23b03643d09666abf09e6fae3d4da99f44570158b83170104cee68fdd5c1fc41b7c3e7b

doc/camomile.lib/CamomileLib/UCol/index.html

Module CamomileLib.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
module Make (_ : Config.Type) (Text : UnicodeString.Type) : Type with type text = Text.t and type index = Text.index