Skip to content

Instantly share code, notes, and snippets.

@jstaffans
Last active December 20, 2015 19:29
Show Gist options
  • Save jstaffans/6183502 to your computer and use it in GitHub Desktop.
Save jstaffans/6183502 to your computer and use it in GitHub Desktop.
Clojure debug macro
(defmacro dbg[x] `(let [x# ~x] (println "dbg:" '~x "=" x#) x#))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment