proto-repl
proto-repl copied to clipboard
Incorrect order of keys in sorted-map evaluation result
Using [org.clojure/clojure "1.9.0"]
, [proto-repl "0.3.1"]
and [nrepl "0.3.1"]
.
I'm getting weird behaviour from evaluating sorted-maps in Proto-repl as you can see on image:
Works correctly for numbers, breaks on keywords and strings.
Hit the same issue - you can wrap the sorted-map
with seq
as a workaround:
(seq (sorted-map "c" "c" "a" "a" "b" "b" "d" "d"))
gives
(["a" "a"] ["b" "b"] ["c" "c"] ["d" "d"])