- Code: Select all
(defmacro def (name parameters body) ?)
And the other problem is that there need to be multiple optional arguments and the body of the macro.
TIA
(defmacro def (name parameters body) ?)
(defmacro def (name lambda-list &body body)
(setf (symbol-function ',name)
#'(lambda ,lambda-list ,@body)))Users browsing this forum: Google [Bot] and 2 guests