This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Hey all - in CLJS, I've implemented `IPrintWithWriter` for a js type called `Fraction`, and for some reason the repl, when printing, refuses to show a space:
;; implementation (write-all writer "#sicm/frac " (str x)) (rationalize 1 10) ;; => #sicm/frac(/ 1 10)
pr-str does the right thing:
(pr-str (rationalize 1 10)) => "#sicm/frac (/ 1 10)"
any escaped characters like `\"` cause it to stop printing. I was trying to get the repl output to match
pr-str and print
#sicm/frac (/ 1 10), with a space... any thoughts on what I'm doing wrong here?