Reconcile print-str values with str and repr values #682
Labels
component:basilisp.core
Issue pertaining to basilisp.core namespace
issue-type:bug
Something isn't working
In Clojure,
(print-str #uuid "...")
produces#uuid "..."
but in Basilispprint-str
is tied directly tostr
(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
The text was updated successfully, but these errors were encountered: