昨天,我试着在我的SBCL盒(v.1.3.2 (x64),Windows 10,Dell Core i5 8GB内存)上计算出新的Mersenne (X64)的大小,几乎一个小时后我放弃并中断了计算。在生成的屏幕下面:
This is SBCL 1.3.2, an implementation of ANSI Common Lisp.More information about SBCL is available at <http://www.sbcl.org/>.SBCL
在SBCL中,如何将lambda表达式放入结构槽(例如,(setf (struct-slot1 struct1) '(lambda (x) (* x x))) ),以便可以用funcall或apply调用它SBCL编译器抱怨:wanted one of (FUNCTION SYMBOL)。有没有一种方法可以安装这样的lambda而不编译它或者给它一个显式的名称?为什么lambda表达式不是函数?