set-lite

functionsince v1.12.134Edit
(set-lite coll)

Source docstring:
:lite-mode version of set, not intended ot be used directly.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn set-lite
  [coll]
  (if (set? coll)
    (-with-meta coll nil)
    (let [in (seq coll)]
      (if (nil? in)
        #{}
        (loop [in in out (. SetLite -EMPTY)]
          (if-not (nil? in)
            (recur (next in) (-conj out (first in)))
            out))))))