borkdude / edamame

Configurable EDN/Clojure parser with location metadata

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reading empty vector should be identical? to empty vector

borkdude opened this issue · comments

This should return true:

(identical? [] (e/parse-string "[]"))

Oh this is actually not true for tools.reader or LispReader, so closing:

user=> (identical? [] (r/read-string "[]"))
false
user=> (identical? [] (read-string "[]"))
false