larry google groups <lawrencecloj...@gmail.com> writes: > (let [right-now (. (Date.) getTime) > new-user-entry (conj this-users-params { "updated" right-now })] > (swap! registry (fn [map-of-user-maps] > (assoc (assoc map-of-user-maps (get new-user-entry > "username" "anonymous") {}) (get new-user-entry "username" "anonymous") > new-user-entry))))) > > I wanted to get a map inside of a map like this:
Probably, you want something like (let [user (get new-user-entry "username" "anonymous")] (swap! registry update-in [(keyword user)] assoc :username user) Bye, Tassilo -- 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 Note that posts from new members are moderated - please be patient with your first post. 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