package js_of_ocaml

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

A minimal table implementation specialized for Js.js_string keys. This is faster than regular OCaml hashtables.

This implementation does not emulate the backtracking behavior of Hashtbl.

type 'a t
val create : unit -> 'a t
val add : 'a t -> Js.js_string Js.t -> 'a -> unit
val remove : 'a t -> Js.js_string Js.t -> unit
val find : 'a t -> Js.js_string Js.t -> 'a Js.optdef
val keys : 'a t -> Js.js_string Js.t list
OCaml

Innovation. Community. Security.