[plt-scheme] Lazy Evaluation

From: james pack (jamestidwellpack at gmail.com)
Date: Wed Feb 10 05:50:32 EST 2010

Thanks for your reply, the alternative's nice but I feel it kind of defeats
the purpose. I wanted the make-getter to be of factory so that the returned
function would be a simple variable definition sort of like the classical
make-adder function.

Anyway, it was more of a curiosity; no big deal.

On Wed, Feb 10, 2010 at 8:26 AM, Jon Zeppieri <zeppieri at gmail.com> wrote:

> .....

> Lazy evaluation doesn't violate lexical scope (and that's a good thing).
>  In other words, *when* the expression is evaluated has nothing to do with
> the binding environment in which it's evaluated.  The latter is determined
> by inspecting the syntax of the program, rather than by trying to trace its
> run-time behavior.
>  -Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100210/404cd495/attachment.html>

Posted on the users mailing list.