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

ambuguity



I'm not sure the following is a bug, because there may be some
ambiguity in the CL spec about whether x is a new variable
each time.  On the other hand, I can't see any disadvantage
of assuming that interpretation.  Thanks, --pg

(funcall (cadr (let ((acc nil))
                 (dolist (x '(1 2))
                   (push #'(lambda () x) acc))
                 acc)))
2