package camomile

  1. Overview
  2. Docs
A Unicode library

Install

Dune Dependency

Authors

Maintainers

Sources

v2.0.0.tar.gz
md5=41e02d124c3fa29ea511110d2c6532de
sha512=b0ae3d921f65390e8ec88a04901dd097b568db9f9ae70fb328e9d3ddb2dd8922b9a8e8da9ace91ad9cb5f6a1310ae5b6ba502e287d6c828f4d60622289316ac8

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
OCaml

Innovation. Community. Security.