clojure.core/keys

2018-08-05 Thread Andres Pineda
Why does the keys function return unexpected order when there are 8 or more keys in a map? I believe the order issue also applies to seq. -- 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 N

Re: clojure.core/keys

2018-08-05 Thread Andy Fingerhut
Except for sorted-map and a few other special kinds of maps with ordering guarantees, the normal kind of map in Clojure is a hash-map, which uses a hash function of the keys to create a tree data structure with the hash value as a search key. seq on hash-map's traverses these trees in a determinis

Re: clojure.core/keys

2018-08-05 Thread Andres Pineda
Thanks for clearing that up. -Andres On Sunday, August 5, 2018 at 12:17:47 AM UTC-7, Andy Fingerhut wrote: > > Except for sorted-map and a few other special kinds of maps with ordering > guarantees, the normal kind of map in Clojure is a hash-map, which uses a > hash function of the keys to cre