&body
&body is like &rest, but typically reserved for macros
Example: WITH (shorthand for LET, use it to create one local variable)
(defmacro with ((var &optional val) &body body)
`(let ((,var ,val))
,@body))
(with (a)
(print a)) ;; this example transforms into:
(let ((a nil))
(print a))
Previous slide
Next slide
Back to first slide
View graphic version