extend ALL to PersistentHashSet
This commit is contained in:
parent
e2b6f63f99
commit
3f71163454
1 changed files with 7 additions and 0 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue