Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(defn-log repeat-n
[n s]
(apply str (repeat n s)))
; Is macro-expanded (at compile-time) to:
(defn repeat-n
[n s]
(println
(log-symbol-values
"[TRACE] Call to \"repeat-n\" with arguments: "
'[n s]
[n s]))
(apply str (repeat n s)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment