Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
user=> (require '[clojure.set :as set])
niL
user=> ; set operations
user=> (set/union #{1 2} #{2 3}
#{1 3 2}
user=> (set/intersection #{1 2} #{2 3})
#{2}
user=> (set/difference #{1 2} #{2 3})
#{1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment