The # appears when *print-level* is exceeded
in pr/pr-str, just as you get "..." when *print-lengtht*
is exceeded:
(pr-str {:foo {:bar {:baz 3}}})
=> "{:foo {:bar {:baz 3}}}"
(set! *print-level* 2)
=> 2
(pr-str {:foo {:bar {:baz 3}}})
=> "{:foo {:bar #}}"
Could it be that a preceding test sets
OK, I dug into the Clojure source and found a way to solve my issue.
If I wrap the pr-str in (binding [*print-dup* true] (pr-str form)) it
works.
On Apr 17, 5:34 pm, nathanmarz wrote:
> So I've been hacking for the past day on making serializable functions
> for Clojure (building off the work of
So I've been hacking for the past day on making serializable functions
for Clojure (building off the work of @technomancy in his serializable-
fn repo).
I'm running into a nasty problem though, and I really don't understand
what's going on. One of the things I'm doing in my code (
https://github.c