Sometimes it's useful to turn a UUID into a string, particularly when interoperating with Javascript. Currently the toString implementation for UUIDs is quite opaque:
=> (str #uuid "f47ac10b-58cc-4372-a567-0e02b2c3d479") "[object Object]"
Mimicking the behavior in Clojure/Java would be preferable:
=> (str #uuid "f47ac10b-58cc-4372-a567-0e02b2c3d479") "f47ac10b-58cc-4372-a567-0e02b2c3d479"
fixed https://github.com/clojure/clojurescript/commit/2870101b1a4ad4ef70ff06df3c04cda5d621b2cc
Sometimes it's useful to turn a UUID into a string, particularly when interoperating with Javascript. Currently the toString implementation for UUIDs is quite opaque:
=> (str #uuid "f47ac10b-58cc-4372-a567-0e02b2c3d479") "[object Object]"
Mimicking the behavior in Clojure/Java would be preferable:
=> (str #uuid "f47ac10b-58cc-4372-a567-0e02b2c3d479") "f47ac10b-58cc-4372-a567-0e02b2c3d479"