(defun recursive-sum (L)
(if (null L)
0
(+ (first L) (recursive-sum L))))
我的代码有什么问题?
我收到此错误消息:
*** - SYSTEM::READ-EVAL-PRINT: variable SUM.LISP has no value
The following restarts are available:
USE-VALUE :R1 Input a value to be used instead of SUM.LISP.
STORE-VALUE :R2 Input a new value for SUM.LISP.
ABORT :R3 Abort debug loop
ABORT :R4 Abort debug loop
ABORT :R5 Abort main loop
Break 3 [5]>