[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How's that again?
- To: info-mcl@cambridge.apple.com
- Subject: How's that again?
- From: hall@research.att.com (Bob Hall)
- Date: Tue, 1 Feb 94 08:16:42 EST
Is the following behavior a bug, or am I blowing the declaration somehow?
? (defun foo (l)
(dolist (x l)
(print "Hi")))
;Compiler warnings :
; Unused lexical variable X, in FOO inside an anonymous lambda form.
FOO
? (defun foo (l)
(dolist (x l)
(declare (ignore x))
(print "Hi")))
;Compiler warnings :
; Variable X not ignored, in FOO inside an anonymous lambda form.
FOO
-- Bob