Advertisement
Guest User

Untitled

a guest
Apr 29th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. (defn get-vector []
  2. (let [rs (atom [])]
  3. (map (fn [x] (swap! rs conj x)) [1 2 3 4])
  4. @rs))
  5.  
  6. (get-vector)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement