On Fri, Sep 25, 2009 at 1:46 AM, Richard Newman wrote:
>
> > I guess this is already ticketed. I should have searched first, sorry
> > for the noise.
>
> It's not already ticketed, even if the root cause might be the same.
> As I pointed out in my message, these are not hash maps, they're array
> I guess this is already ticketed. I should have searched first, sorry
> for the noise.
It's not already ticketed, even if the root cause might be the same.
As I pointed out in my message, these are not hash maps, they're array
maps.
You should file a new ticket and refer to #192.
--~--~--
I guess this is already ticketed. I should have searched first, sorry
for the noise.
http://www.assembla.com/spaces/clojure/tickets/192-hashmaps--count-is-not-always-updated-when-associng-dissocing-a-nil-key
-Jason
--~--~-~--~~~---~--~~
You received this message
Confirmed. I'm using clojure from git:
$ git status
# On branch master
nothing to commit (working directory clean)
I also tried with the ':'
Clojure=> (count {:1 nil :2 nil :3 nil :4 nil :5 nil :6 nil :7 nil :8
nil :9 nil})
0
--~--~-~--~~~---~--~~
You received t
> Can anyone else confirm?
I see the same thing. Both working and non-working lengths are
PersistentArrayMaps, so this isn't a hash map thing.
user=> (type {1 nil 2 nil 3 nil 4 nil 5 nil 6 nil 7 nil 8 nil 9 nil})
clojure.lang.PersistentArrayMap
user=> (type {1 nil 2 nil 3 nil 4 nil 5 nil 6 nil