function | since v0.0-1877 | Edit |
(set-from-indexed-seq iseq)
(defn set-from-indexed-seq [iseq]
(let [arr (.-arr iseq)
ret (areduce arr i ^not-native res (-as-transient #{})
(-conj! res (aget arr i)))]
(-persistent! ^not-native ret)))