guile-devel
[Top][All Lists]
Advanced

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

Re: Eval, tail calls, (current-module), and backward compatibility


From: Andy Wingo
Subject: Re: Eval, tail calls, (current-module), and backward compatibility
Date: Wed, 18 Jan 2012 10:36:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

On Tue 17 Jan 2012 22:02, Mark H Weaver <address@hidden> writes:

> Therefore, the R5RS leaves no possible way for a complaint `eval' to
> restore the previous value of (current-module) after evaluation.
> Indeed, this is prohibited at a semantic level.

FWIW, Racket circumvents this problem nicely, with what they call
"continuation marks".  We might be able to reuse their strategy in our
with-fluids implementation.

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]