Module Prelude.Hashset
type 'a t = ('a, unit) Utils.Prelude.Hashtbl.tval empty : ?size:int -> unit -> 'a tMakes an empty Hashset
val mem : 'a t -> 'a -> boolChecks if an element is in the set
val add : 'a t -> 'a -> unitAdds an element to the set
val remove : 'a t -> 'a -> unitRemoves an element from the set
val length : 'a t -> intReturns the size of the set
val iter : ('a -> unit) -> ('a, unit) Utils.Prelude.Hashtbl.t -> unitApplies f to each element of the set
val filter_in_place : 'a t -> ('a -> bool) -> unitFilters the set in-place
val copy : 'a t -> ('a, unit) Utils.Prelude.Hashtbl.tClones the set
val to_seq : 'a t -> 'a Stdlib.Seq.tGives a sequence of all items in the set