have to say I started learning Clojure about two weeks ago and now I\'m stuck on a problem since three full days.
I got a map like this:
{ :agent1
The walking functions are good for replacement like that.
(clojure.walk/prewalk-replace {[:team "X"] [:team "H"]} map)
Passing in vectors allows you to ensure that you don't just replace all the "X"s.