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/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.