zprint
zprint copied to clipboard
Different output of tagged literals in library vs shell
(zp/zprint-str
[{:a :b :c :d} (tagged-literal 'x {:e :f :g :h})]
{:map {:comma? false}})
"[{:a :b :c :d} #x {:e :f, :g :h}]"
Expected the comma between :e :f, :g :h
to not be there. Reproduced in cljs and babashka with zprint v1.2.9. Interestingly it prints as expected via bb zprint
echo "[{:a :b :c :d} #x {:e :f :g :h}]" | bb zprint "{:map {:comma? false}}"
[{:a :b :c :d} #x {:e :f :g :h}]