help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Question about let binding behavior


From: Louis-Guillaume Gagnon
Subject: Re: Question about let binding behavior
Date: Tue, 08 Oct 2024 07:49:25 +0000

Hi Tomas,

Le 10/8/24 à 8:41 AM, tomas@tuxteam.de a écrit :
> The binding (i.e. the "thing" linking the symbol baz to the value
> '(...) is local. But what you do with that (setcdr... ) is to change
> the value itself. Your function returns this (possibly changed) value.
That makes sense, but I guess I'm more surprised that the list itself is 
only evaluated a single time -- I would naively have expected for the 
list to be created anew every time the function is called but that's 
evidently not what's happening.
> Did that help?

It did! Thanks.

Cheers,
L-G






reply via email to

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