On Tue, Oct 13, 2009 at 12:35 PM, Stuart Sierra <the.stuart.sie...@gmail.com
> wrote:

> On Oct 11, 11:17 pm, John Harrop <jharrop...@gmail.com> wrote:
> > > I just discovered that maps support duplicated keys:
> > I suspect it's a bug.
>
> It's been discussed on IRC and declared not a bug.  It's officially
> "undefined" what happens when you write a literal map with duplicate
> keys.  As soon as you assoc/dissoc anything on the map, the duplicates
> disappear.


I've demonstrated that it's possible to have a literal map that doesn't have
duplicate keys at read time, and doesn't always have duplicate keys at run
time, but does sometimes have duplicate keys at run time. That seems to be a
problem.

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