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

re: What does DOTIMES mean?



[In reply to message from Moon@STONY-BROOK.SCRC.Symbolics.COM sent Mon, 20 Nov 89 12:26 EST.]

The reason I ask is that Qlisp implicitly creates some closures, and a typical
idiom is

	(dotimes (i <form>) (spawn ... <form involving i>))

There is a closure made for the inne form. Intuitively, i should be
treated as a constant for each execution of the body (in Qlisp), and this
can be accomplished by a fresh binding for i each time around. I was
wondering whether this implementation is legal in Common Lisp.

			-rpg-