Iterators? (Was: Squeak practical use? ...)
bparsia at email.unc.edu
Wed Jan 30 19:51:41 UTC 2002
On Wed, 30 Jan 2002, Jimmie Houchin wrote:
> Would it be reasonable to implement it in such a way that tail recursion
> could be explicitly requested by the programmer?
Yes, but it raises a whole host of issues :) I.e., there are a lot of
"optimization specifications" (e.g., type declaration) one might one to,
er, be able to specify.
Common Lisp is a handy place to look.
> The default would
> remain as it is and tail recursion could be an optimizing option.
Or you could set the default as you please :)
More information about the Squeak-dev