Suppose I have a map:
{:name "foo"
:age "bar"}
And another one
{:name (fn [val] (println val))
:age (fn [val] (= val "bar"))}
I want to apply function keyed by :name
on second map to the first map, which also keyed by :name
and the function keyed by :age
to the first map which keyed by :age
. How to do this the clojure way?