Remove all elements from a dynamic map in clojure

209 Views Asked by At

I have a Dynamic Map

(def ^:dynamic all-elements-name-map {})

I have inserted many elements to this map in an iteration. In order to prepare for the next iteration i need to clear all the contents in this map. Is there a inbuilt way to clear all the elements or do i need to dissoc each element from the map in a loop

0

There are 0 best solutions below