Skip to content

Reconcile print-str values with str and repr values #682

Closed
@chrisrink10

Description

@chrisrink10

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions