Hi,

I am using sbcl to learn the cl.  My system is sbcl 0.9.12.
I don't quite understand warnings from using setf at repl
like this:

CL-USER> (setf v 1)

; in: LAMBDA NIL
;     (SETF V 1)
; ==>
;   (SETQ V 1)
;
; caught WARNING:
;   undefined variable: V

;
; caught WARNING:
;   This variable is undefined:
;     V
;
; compilation unit finished
;   caught 2 WARNING conditions
1


Why is there a warning saying "v" is undefined?  Isn't the
whole purpose of using setf is to define a variable and assign
a value to it?

I tried the same setf usage in clisp which didn't report any
warnings.  I wonder what is the difference here between sbcl
and clisp. 

Doug



Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.