:: Re: [DNG] elisp &c (was: Evince)\
Startseite
Nachricht löschen
Nachricht beantworten
Autor: Hendrik Boom
Datum:  
To: dng
Betreff: Re: [DNG] elisp &c (was: Evince)\
On Tue, May 24, 2016 at 08:40:37PM +0100, Rainer Weikusat wrote:
>
> ... and what the Lisp 1.5 FUNCTION was about was to enable solving the
> so-called 'upward funarg problem': Assuming a function is returned
> (passed upward) when evaluating an expression and later activated in a
> different context, what are free variables used by the returned function
> supposed to refer to, the values they had at the time when the function
> was defined or the values they had when the function is activated? Eg,
> assuming this code,


And by wrapping FUNCTION around every lambda-expression (which I did in
those days) you oachieve lexical scoping. But it's messy, and there's
no defense against accidentally leaving FUNCTION out.

-- hendrik