1.3.0 permalink Arrow_down_16x16

prewalk-demo

clojure.walk

  • (prewalk-demo form)
Demonstrates the behavior of prewalk by printing each form as it is
walked. Returns form.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/walk.clj:84 top

(defn prewalk-demo
  "Demonstrates the behavior of prewalk by printing each form as it is
  walked.  Returns form."
  {:added "1.1"}
  [form]
  (prewalk (fn [x] (print "Walked: ") (prn x) x) form))
Vars in clojure.walk/prewalk-demo:
Used in 0 other vars

Comments top

No comments for prewalk-demo. Log in to add a comment.