package camomile

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.