Skip to content

Instantly share code, notes, and snippets.

@bherrmann7
Created April 23, 2014 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bherrmann7/11216574 to your computer and use it in GitHub Desktop.
Save bherrmann7/11216574 to your computer and use it in GitHub Desktop.
spy macro
(defmacro spy [expr] `(let [a# ~expr] (println (str '~expr " => " a#)) a#))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment