A language built for fun
This project is maintained by cometlang
inherits Iterable final
WARNING: known to be broken
add(value) adds a value to a set. Returns true if the value was added, false if the value was already contained in the setremove(value) removes a value from a set. Silently does nothing if the value was never in the setunion(set) Returns a new Set with the combined values of both setsintersect(set) Returns a new Set containing the values that were in both setsdifference(set) Returns a new Set with the values in the callee that are not in the argument Setto_list() Returns a list of the values in the Set. Not guaranteed to be in any specific orderto_string() Returns a string representation of the Set.empty?() Returns true if there are no values in the Set.count() Returns the number of values in the Set.`| performs a union& performs an intersection- performs a difference