extend ALL to PersistentHashSet

This commit is contained in:
nathanmarz 2017-02-12 21:02:38 -05:00
parent e2b6f63f99
commit 3f71163454

View file

@ -106,6 +106,13 @@
(filter not-NONE?))
structure))
#?(:clj clojure.lang.PersistentHashSet :cljs cljs.core/PersistentHashSet)
(all-transform [structure next-fn]
(into #{}
(comp (map next-fn)
(filter not-NONE?))
structure))
#?(:clj clojure.lang.PersistentArrayMap)
#?(:clj
(all-transform [structure next-fn]