Module type Hashset.S
val create : int -> t
create n
creates a fresh hashset with initial sizen
.
val clear : t -> unit
Clear the contents of a hashset.
val repr : int -> elt -> t -> elt
repr key constr set
useskey
to look forconstr
in the hashetset
. Ifconstr
is inset
, returns the specific representation that is stored inset
. Otherwise,constr
is stored inset
and will be used as the canonical representation of this value in the future.
val stats : t -> statistics
Recover statistics on the table.