diff --git a/src/clj/com/rpl/specter/navs.cljc b/src/clj/com/rpl/specter/navs.cljc index 9435860..c965849 100644 --- a/src/clj/com/rpl/specter/navs.cljc +++ b/src/clj/com/rpl/specter/navs.cljc @@ -129,6 +129,13 @@ (all-transform [structure next-fn] (non-transient-map-all-transform structure next-fn (empty structure))) + clojure.lang.IRecord + (all-transform [structure next-fn] + (reduce + (fn [res kv] (conj res (next-fn kv))) + structure + structure + )) #?(:clj clojure.lang.PersistentHashMap :cljs cljs.core/PersistentHashMap) (all-transform [structure next-fn]