Reason
  • Docs
  • Try
  • API
  • Community
  • Blog
  • Languages iconEnglish
    • 日本語
    • Deutsch
    • Español
    • Français
    • 한국어
    • Português (Brasil)
    • Русский
    • Українська
    • 中文
    • 繁體中文
    • Help Translate
  • GitHub
Previous  Up  Next

Module type Hashtbl.S

module type S = sig .. end
The output signature of the functor Hashtbl.Make.

type key;
type t('a);
let create: int => t('a);
let clear: t('a) => unit;
let reset: t('a) => unit;
let copy: t('a) => t('a);
let add: (t('a), key, 'a) => unit;
let remove: (t('a), key) => unit;
let find: (t('a), key) => 'a;
let find_all: (t('a), key) => list('a);
let replace: (t('a), key, 'a) => unit;
let mem: (t('a), key) => bool;
let iter: ((key, 'a) => unit, t('a)) => unit;
let fold: ((key, 'a, 'b) => 'b, t('a), 'b) => 'b;
let length: t('a) => int;
let stats: t('a) => Hashtbl.statistics;