Macros with Logic
A macro need not be just a backquoted list
A macro is an arbitrarily complex function for transforming one expression into another
(defmacro incf (place)
(if (symbolp place)
`(setq ,place (+ 1 ,place))
`(setf ,place (+ 1 ,place))))
Previous slide
Next slide
Back to first slide
View graphic version