I want to add a value to a list in a Clojure atom:
(def thing (atom {:queue '()}))
I know when this is not an atom, I can do this:
(concat '(1 2) '(3))
How can I translate this into a swap! team?
Note. I asked a similar question with maps: Using swap to MERGE (attach to) a nested map in a Clojure atom?
clojure
szxk
source share