function | since v0.0-927 | clojure.core/disj | Edit |
(disj coll)
(disj coll k)
(disj coll k & ks)
disj(oin). Returns a new set of the same (hashed/sorted) type, that does not contain key(s).
disj[oin]. Returns a new set of the same (hashed/sorted) type, that does not contain key(s).
(defn disj
([coll] coll)
([coll k]
(when-not (nil? coll)
(-disjoin coll k)))
([coll k & ks]
(when-not (nil? coll)
(let [ret (disj coll k)]
(if ks
(recur ret (first ks) (next ks))
ret)))))