I have just begun to learn about macros, and it would be really helpful if I could see what the expanded form of a specific macro looks like.
( using Lispworks)
(defmacro mac (form)
`(pprint (macroexpand-1 ',form)))
(mac (setf (car hi) 5))
(COMMON-LISP::%RPLACA HI 5)
Users browsing this forum: No registered users and 1 guest