I want to transform one map of values to another map with the same keys but with a function applied to the values. I would think there was a function for doing this in the c
Taken from the Clojure Cookbook, there is reduce-kv:
(defn map-kv [m f] (reduce-kv #(assoc %1 %2 (f %3)) {} m))