brave-clojure-web
brave-clojure-web copied to clipboard
hash-set example is sorted
It seems that in § http://www.braveclojure.com/do-things/#2_8__Sets
for the example with :
(hash-set 1 1 3 1 2)
The clojure result is
; => #{1 3 2}
as we might expected and not
; => #{1 2 3}
as written in the document
Come to think of it, when I run this on tryclj.com, I get this error: java.lang.IllegalArgumentException: Duplicate key: 1