對不起我的英文不好:) 我有口齒不清的問題。我在這裏向http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html SBCL 鍵入代碼變量B是綁定在Lisp中
* (define a 3)
; in: DEFINE A
; (DEFINE A 3)
;
; caught WARNING:
; undefined variable: A
;
; caught STYLE-WARNING:
; undefined function: DEFINE
;
; compilation unit finished
; Undefined function:
; DEFINE
; Undefined variable:
; A
; caught 1 WARNING condition
; caught 1 STYLE-WARNING condition
debugger invoked on a UNBOUND-VARIABLE in thread #<THREAD
"initial thread" RUNNING
{10029211E1}>:
The variable A is unbound.
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [ABORT] Exit debugger, returning to top level.
有人給我幫助嗎?
SICP使用方案,一個Lisp的方言。 SBCL實現另一種Lisp方言Common Lisp。我認爲你需要使用Scheme實現。 –