basilisp
basilisp copied to clipboard
Reconcile print-str values with str and repr values
In Clojure, (print-str #uuid "...")
produces #uuid "..."
but in Basilisp print-str
is tied directly to str
(which in Clojure simply returns the string part of the UUID).
I'm not sure which one is right, but it feels a little inconsistent on the Clojure side. For now, I'm erring on the side of preferring for str
to return only the string portion of the UUID and have print-str be slightly wrong.
Maybe at some point, we can deep dive on whether Clojure is in error or if Basilisp should just try harder to match the Clojure side regardless.
Discovered working on #672