[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I agree in that this code

(let ((x 1))
  (let ((f #'(lambda () x)))
    (setq x 2)
    (funcall f)))

should return 2.  The question is, should dolist be understood as
creating one variable (as it would if it expanded into a tagbody
with a setq) or a different variable on each iteration (as it would
if it expanded into a recursive function).  I believe that the
standard is vague here, and was suggesting that if we have to choose
one interpretation, the latter would be the better one, as in Scheme.