Welcome! Please see the About page for a little more info on how this works.

0 votes
in Docs by

prewalk and postwalk are use recursion in ways that will blow the stack for sufficiently deep nested structures.

I suggest that this be noted in various clojure.walk documentation strings since this kind of recursion/limit seems to be rare in Clojure, and hence will be unexpected.

(It'd be even better to remove the recursion/limit via something like zippers and iteration, but this issue is just a suggestion for improvement of the documentation.)

1 Answer

0 votes
Reference: https://clojure.atlassian.net/browse/CLJ-1321 (reported by alex+import)