On Mar 11, 1:24 pm, Raffael Cavallaro <[email protected]>
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---