Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Clojure
clojure.core
set
set
function
v1.0
clojure.core/set
Available in:
BB
CLJ
CLJS
(
set
[
coll
]
)
Returns a set of the distinct elements of coll.
Examples
Sign in to contribute
Code
Platforms
Clojure
ClojureScript
Babashka
Submit
Cancel
No examples yet. Be the first to add one!
Categories
Collections › Creating
See Also
array-map
cycle
hash-map
hash-set
iterate
lazy-seq
list
list*
range
repeat
View source on GitHub ↗
← sequential?
set! →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4