One way to implement map-invert

Hi there,

Here's an example for reduce-kv.

Cheers,
Tushar
It would be better to use assoc to add to the accum map.

(reduce-kv (fn [accum k v] (assoc accum v k)) {} {:a 1 :b 2 :c 3 :d 3})