Plaster
New
List
Login
common-lisp
default
anonymous
2022.12.15 08:30:57
(defmacro test-1 () (let ((symbol (gensym))) (setf (fdefinition symbol) (lambda () 'hello)) `(test-2 ,symbol))) (defmacro test-2 (symbol) `(print ',(funcall symbol))) ;;;; (test-1) => HELLO
Raw
Annotate
Repaste
Edit