Module CamomileLibrary.UCol

Unicode collation algorithm

type variable_option = [
| `Blanked
| `Non_ignorable
| `Shifted
| `Shift_Trimmed
]

How variables are handled

type precision = [
| `Primary
| `Secondary
| `Tertiary
| `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 : functor (Config : ConfigInt.Type) -> functor (Text : UnicodeString.Type) -> Type with type text = Text.t and type index = Text.index