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
val create : int -> t
val clear : t -> unit
val reset : t -> unit
val remove : t -> key -> unit
val add : t -> key -> unit
val of_array : key array -> t
val check_add : t -> key -> bool
val mem : t -> key -> bool
val iter : t -> (key -> unit) -> unit
val fold : t -> 'b -> (key -> 'b -> 'b) -> 'b
val length : t -> int
val to_list : t -> key list