squint
squint copied to clipboard
with-out-str
Is this something we want to add? If we do want to add this then we should probably do this before we do pr/prn, right?
prn
and pr-str
are already there: they use JSON.stringify
.
I consider prn
in squint totally broken since it relies in JSON.stringify which ignores a lot of stuff when it's not representable as JSON. I might want to switch to another implementation later which prints EDN-like stuff which can be copy-pasted back into the code. This will be a breaking change. I'll revisit with-out-str after that.