Sends name (optional) and value to the tracer function, then
returns value. May be wrapped around any expression without
affecting the result.
(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))
Comments top
No comments for trace. Log in to add a comment.