On Mar 11, 1:24 pm, Raffael Cavallaro <raffaelcavall...@gmail.com>
wrote:

> ;; this just makes a big map atom where integer keys are associated
> with integer values

should rather be as follows to get integer keyword keys:

(def my-atom
     (atom (assoc (apply hash-map
                         (take 1000
                               (interleave
                                (map #(keyword (str %))
                                     (iterate inc 0))
                                (iterate inc 100))))
             :last-update nil)))
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to