Module Hash_set.Make

A naive t implementation on top of hashtbl, the value is unit

Parameters

module H: Stdlib.Hashtbl.HashedType

Signature

type key = H.t;
type t;
let create: int => t;
let clear: t => unit;
let reset: t => unit;
let remove: t => key => unit;
let add: t => key => unit;
let of_array: array(key) => t;
let check_add: t => key => bool;
let mem: t => key => bool;
let iter: t => (key => unit) => unit;
let fold: t => 'b => (key => 'b => 'b) => 'b;
let length: t => int;
let to_list: t => list(key);