[Top][All Lists]

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

Re: Anything better for delayed lexical evaluation than (lambda () ...)?

From: Andy Wingo
Subject: Re: Anything better for delayed lexical evaluation than (lambda () ...)?
Date: Wed, 14 Dec 2011 11:15:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

On Wed 14 Dec 2011 00:45, David Kastrup <address@hidden> writes:

> Andy Wingo <address@hidden> writes:
>> On Wed 14 Dec 2011 00:00, Noah Lavine <address@hidden> writes:
>>> I haven't really been contributing to this thread, so please take my
>>> opinion with a grain of salt. But it does appear to me that we should
>>> support capturing a lexical environment, as Mark and David describe.
>>> So I took a look at ice-9/eval.scm....
>> There is a compiler too.
> Lilypond calls eval on the # and $ scraps (though I don't know whether
> that would be ice-9 or not).  Actually, I have no idea what else it
> could call.

It could call `compile', in 2.0.  It probably doesn't want to though.

It sounds a bit academic, but this is not a moot point: as things are
now, one can replace any call to `eval' with `compile'.  Or, replace the
implementation of `eval' with `compile'.  I suppose local-eval would be
a different beast, though.



reply via email to

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