Skip to content

Instantly share code, notes, and snippets.

@tgk
Created May 24, 2010 09:21
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 tgk/411683 to your computer and use it in GitHub Desktop.
Save tgk/411683 to your computer and use it in GitHub Desktop.
(defmacro todo
"Annotates a form with a comment for later review.
Adds the comment and the form to the batch of todos, which
can be revied later using todo-summary."
[comment & more]
(do
(save-code-and-snippet comment (apply
#(with-out-str pprint %) more))
`(do ~@more)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment