Module CCHashSet.Make
Parameters
Signature
type t
type elt
= E.t
val create : int -> t
create n
makes a new set with the given capacityn
.
val clear : t -> unit
clear s
removes all elements froms
.
val cardinal : t -> int
cardinal s
returns the number of elements ins
.
val find_exn : t -> elt -> elt
find_exn s x
returnsy
ifx
andy
are equal, andmem s y
.- raises Not_found
if
x
not ins
.