halgari/clojure-py — Issue #10: Hash literals don't use ordered sets
Author: halgari
Created: 2012-01-26 02:35:13+00:00
State: open
Labels: conformance

Ordered sets are not implemented at all in the current system. This means that hash literals {} are compiled as hash maps. The problem is when code like the following is encountered:

'''
(def bar {"one" (do (print 1)
1)
"two" (do (print 2)
2)})
'''

In this case, the order the '''print''' statements are executed in is undefined. Using ordered sets should fix this issue.