A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clojure.github.io/clojure/clojure.set-api.html below:

clojure.set - Clojure v1.12.1 API documentation

API for clojure.set -

Full namespace name:

clojure.set Overview
Set operations such as union/intersection.

Public Variables and Functions
differencefunction
Usage: (difference s1)
       (difference s1 s2)
       (difference s1 s2 & sets)
Return a set that is the first set without elements of the remaining sets
Added in Clojure version 1.0
Source
indexfunction
Usage: (index xrel ks)
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.
Added in Clojure version 1.0
Source
intersectionfunction
Usage: (intersection s1)
       (intersection s1 s2)
       (intersection s1 s2 & sets)
Return a set that is the intersection of the input sets
Added in Clojure version 1.0
Source
joinfunction
Usage: (join xrel yrel)
       (join xrel yrel km)
When passed 2 rels, returns the rel corresponding to the natural
join. When passed an additional keymap, joins on the corresponding
keys.
Added in Clojure version 1.0
Source
map-invertfunction
Usage: (map-invert m)
Returns the map with the vals mapped to the keys.
Added in Clojure version 1.0
Source
projectfunction
Usage: (project xrel ks)
Returns a rel of the elements of xrel with only the keys in ks
Added in Clojure version 1.0
Source
renamefunction
Usage: (rename xrel kmap)
Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap
Added in Clojure version 1.0
Source
rename-keysfunction
Usage: (rename-keys map kmap)
Returns the map with the keys in kmap renamed to the vals in kmap
Added in Clojure version 1.0
Source
selectfunction
Usage: (select pred xset)
Returns a set of the elements for which pred is true
Added in Clojure version 1.0
Source
subset?function
Usage: (subset? set1 set2)
Is set1 a subset of set2?
Added in Clojure version 1.2
Source
superset?function
Usage: (superset? set1 set2)
Is set1 a superset of set2?
Added in Clojure version 1.2
Source
unionfunction
Usage: (union)
       (union s1)
       (union s1 s2)
       (union s1 s2 & sets)
Return a set that is the union of the input sets
Added in Clojure version 1.0
Source

Logo & site design by

Tom Hickey

.

Clojure auto-documentation system by Tom Faulhaber.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4