News for hackers. Stuff that matters.
Re:The scope of index variables in Python's for loops by SeanLuke on Sunday January 18, 2015 @05:10PM (#8909138)
Common Lisp:

    (setf *a* nil)
    (dotimes (x 3)
      (push (lambda () x) *a*))
    (mapcar #'funcall *a*)
prints (3 3 3 3) as well. I think the author is mixing up variable capture with scoping.

There are no comments on this comment yet.