clojure.set
(source)Set operations such as union/intersection.
For more info about this library see:
https://clojuredocs.org/clojure.corePublic Variable | Short Description |
---|---|
difference (clj) | Return a set that is the first set without elements of the remaining sets. |
index (clj) | Returns a map of the distinct values of ks in the xrel mapped to a set of the maps in xrel with the corresponding values of ks. |
intersection (clj) | Return a set that is the intersection of the input sets. |
join (clj) | When passed 2 rels, returns the rel corresponding to the natural join. |
map-invert (clj) | Returns the map with the vals mapped to the keys. |
project (clj) | Returns a rel of the elements of xrel with only the keys in ks. |
rename (clj) | Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap. |
rename-keys (clj) | Returns the map with the keys in kmap renamed to the vals in kmap. |
select (clj) | Returns a set of the elements for which pred is true. |
subset? (clj) | Is set1 a subset of set2?. |
superset? (clj) | Is set1 a superset of set2?. |
union (clj) | Return a set that is the union of the input sets. |