Back

prewalk-replace (clj)

(source)

function

(prewalk-replace smap form)
Recursively transforms form by replacing keys in smap with their values. Like clojure/replace but works on any data structure. Does replacement at the root of the tree first.

Examples