Skip to content

Instantly share code, notes, and snippets.

@sirherrbatka
Created June 18, 2021 19:42
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 sirherrbatka/6b9aedb9f08eed2c2a0f867d3f10cf0c to your computer and use it in GitHub Desktop.
Save sirherrbatka/6b9aedb9f08eed2c2a0f867d3f10cf0c to your computer and use it in GitHub Desktop.
(defmacro decorate (name &body body)
(let ((symbol-name (symbol-name name)))
`(progn
(format t "~&----- header ~a -----~%" ,symbol-name)
,@body
(format t "~&----- footer ~a -----~%" ,symbol-name))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment