You're viewing version 1.2.0 of postwalk-demo. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

postwalk-demo

clojure.walk

  • (postwalk-demo form)
Demonstrates the behavior of postwalk 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:81 top

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

Comments top

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