Skip to content

Instantly share code, notes, and snippets.

@houshuang
Created April 22, 2013 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save houshuang/5435306 to your computer and use it in GitHub Desktop.
Save houshuang/5435306 to your computer and use it in GitHub Desktop.
Newbie Clojure question
(defn testa []
(let [a (atom {})]
(println a)
(let [b (atom {:hi 1})]
(println a b)
(swap! a conj b))))
(testa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment