1.2.0 permalink Arrow_down_16x16
  • (trace value)
  • (trace name value)
Sends name (optional) and value to the tracer function, then
returns value. May be wrapped around any expression without
affecting the result.

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/contrib/trace.clj:50 top

(defn trace
  "Sends name (optional) and value to the tracer function, then
  returns value.  May be wrapped around any expression without
  affecting the result."
  ([value] (trace nil value))
  ([name value]
     (tracer name (pr-str value))
     value))
Vars in clojure.contrib.trace/trace: defn name pr-str
Used in 0 other vars

Comments top

No comments for trace. Log in to add a comment.