假设我全局定义了一个函数:
(defun x (y) (1+ y)) ;; Edit: my first example was too complicated
Run Code Online (Sandbox Code Playgroud)
是否有可能将函数x"强制"为一个列表,如:
(x (y) (1+ y))
Run Code Online (Sandbox Code Playgroud)
提前致谢!
PS - @ Danlei的例子在Clozure CL中有一个特殊标志,但是有谁知道如何让FUNCTION-LAMBDA-EXPRESSION在SBCL中运行?