hashmap->dict cleanup

This commit is contained in:
Scott Richmond 2022-06-02 14:56:03 -04:00
parent 3f44c64802
commit 015d079d57

View File

@ -27,11 +27,11 @@
(::data/ref v) ;; TODO: reconsider this
(str "ref:" (::data/name v) " <" (deref (::data/value v)) ">")
(::data/hashmap v)
(str "#{" (apply str (into [] show-keyed (dissoc v ::data/hashmap))) "}")
(::data/dict v)
(str "#{" (apply str (into [] show-keyed (dissoc v ::data/dict))) "}")
:else
(pp/pprint v)))
(pr-str v)))
(defn- show-set [v]
(str "${" (apply str (into [] show-linear v)) "}"))