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/UCharTbl/index.html

Module CamomileLib.UCharTbl

Fast lookup tables for Unicode. Accessible by constant time.

type 'a tbl

Fast lookup tables. Accessible by constant time.

type 'a t = 'a tbl
val get : 'a tbl -> UChar.t -> 'a
module type Type = sig ... end
module Make (H : Hashtbl.HashedType) : Type with type elt = H.t

Equality and hash are necessary for table generation.

module Bool : sig ... end

Tables for boolean values.

module Bits : sig ... end

Tables for small (< 256, >=0) integers

module Bytes : sig ... end

Tables for integers. If integers are not span the whole 31-bit or 63-bit values, Bytes.t is more space efficient than int tbl.

module Char : sig ... end

Tables for bytes.

OCaml

Innovation. Community. Security.