Hi,

if I put the same keyword in a map literal multiple times, it seems to
stay there somehow:

user=> {:a 1 :a 2 :a 3}
{:a 1, :a 2, :a 3}

The first entry wins here.

user=> (def a {:a 1 :a 2 :a 3})
#'user/a
user=> (:a a)
1

Is this a bug, or a feature?

(tested with clojure 1.1 and yesterdays github-master)

regards, alux

-- 
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

Reply via email to