package js_of_ocaml

  1. Overview
  2. Docs
Compiler from OCaml bytecode to JavaScript

Install

dune-project
 Dependency

Authors

Maintainers

Sources

js_of_ocaml-5.7.0.tbz
sha256=cdf1dea0d9397a498b630abe8014908b6dd83b10ee0c7ff5777a6443a62983be
sha512=5cf7d883c97f4b81ab73687c8f29b624acaef28c002b5d739108954973671dd5fb4f869d8fedb485b4b17bc8aa10d8b55b30ae7ace21a9350c2a1ac59b28eb60

doc/js_of_ocaml/Js_of_ocaml/Jstable/index.html

Module Js_of_ocaml.JstableSource

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.

Sourcetype 'a t
Sourceval create : unit -> 'a t
Sourceval add : 'a t -> Js.js_string Js.t -> 'a -> unit
Sourceval remove : 'a t -> Js.js_string Js.t -> unit
Sourceval find : 'a t -> Js.js_string Js.t -> 'a Js.optdef
Sourceval keys : 'a t -> Js.js_string Js.t list