keen/col/mut-set
SourceThis is a standard module
and does not need to be explicitly imported.
mut-set[t] record (has private fields)Mutable unordered set.
move-to[t] t[](a t mut-set) t keyReturns an array of all elements in
a. Afterwards, a will be empty.~=[t] void(a t mut-set, value t) t keyAdds a value to the set. Does nothing if the value is already in the set.
~~=[t] void(a t mut-set, values t[]) t keyAdds many values. Like with
~=, values already in the set have no effect.