It doesn't look like data is actually an atom? Maybe that's just an error
in your e-mail...
On Tue, Dec 20, 2016 at 8:24 AM Ghadi Shayban wrote:
> swap! takes as its arguments the atom and the function to transition the
> state inside the atom. It implicitly calls the function on the state:
> (
swap! takes as its arguments the atom and the function to transition the
state inside the atom. It implicitly calls the function on the state:
(swap! data replace-value)
It also can accept trailing arguments too...
https://www.conj.io/store/v1/org.clojure/clojure/1.8.0/clj/clojure.core/swap%2