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

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

bug#34708: alist-get has unclear documentation


From: Michael Heerdegen
Subject: bug#34708: alist-get has unclear documentation
Date: Tue, 12 Mar 2019 18:55:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Drew Adams <drew.adams@oracle.com> writes:

> > But isn't that trivial?  How else could we add associations?
>
> Yes, it's true of `setf' in general.  It's still worth repeating, I
> think (just one opinion).  One person's "trivial" is another's
> "gotcha".

Actually, it's not even trivial at all.  Setting alist-get as place
could also build a new alist, leaving the one stored in the ALIST place
intact, and set place ALIST to the new list.  But it potentially
modifies the list stored in place ALIST.  That's not inevitable, so it
could be worth telling that.

Michael.





reply via email to

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