blob: f35a4d8e2782fac69c2bec1b7eafdf1a43721caf (
plain)
1
2
3
4
5
6
7
8
9
10
|
(in-package #:mulk.objective-cl)
(defun apply-macro (macro-name arg &rest args)
"Because FOREIGN-FUNCALL is a macro. Why, oh why is this?"
(funcall
(compile nil
`(lambda ()
(,macro-name ,@(butlast (cons arg args))
,@(car (last (cons arg args))))))))
|