Re: clojure.edn/read isn't spec compliant

2020-11-01 Thread 'EuAndreh' via Clojure
Andy Fingerhut writes: > My personal guess: the authors of the EDN specification and > implementation are content with their level of detail, and might not be > interested in making them 100% equivalent in all ways. (This is only my > personal guess. Realize that making specifications and

How to safely print structures that may contain infinite lazy seqs?

2020-11-01 Thread Austin Haas
How can I make sure that a logging function won't try to realize an infinite lazy seq that could be anywhere in the arguments passed to the logging function? Is there some way to guarantee that lazy seqs won't be realized when converting to a string? I know I can bind *print-length*, but I