[plt-scheme] minor WHEN and UNLESS question
On Jul 6, Yavuz Arkun wrote:
> When you say "no expr is in tail position" and "destroy" do you mean
> that it won't be tail call optimized?
Yes.
> Because the infinite loop:
>
> (let loop ()
> (unless #f (loop))
>
> seem to run happily forever without apparent GC, [...]
Right -- and the reason for that is that the implementation does *not*
follow the documentation.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!