Skip to content

Instantly share code, notes, and snippets.

@kawakami-o3
Created November 25, 2018 13:37
Show Gist options
  • Save kawakami-o3/aff073f847c3802cbc30c79ed04eb884 to your computer and use it in GitHub Desktop.
Save kawakami-o3/aff073f847c3802cbc30c79ed04eb884 to your computer and use it in GitHub Desktop.
macro exercise
;; incf
(defmacro inc! (p)
`(setf ,p (+ ,p 1)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment