2 ms·
Lisp suffers from this same defect, maybe that was your point? What does the following code print out? (defvar refs (loop for i from 1 to 10
by assbuttbuttass 4y ago
Lisp suffers from this same defect, maybe that was your point? What does the following code print out?
(defvar refs
(loop for i from 1 to 10
collect (lambda () (format t "~d~%" i))))
(loop for f in refs
do (funcall f))