Subject: Re: bug#75170: add-to-alist: new function

From: Robert Pluim <[email-masked]>
Date: Tue, 21 Jan 2025 11:53:48 +0100

>>>>> On Tue, 21 Jan 2025 05:33:50 -0500, "Alfred M. Szmidt" <[email-masked]> said:

    Alfred> Right, so why should map-foo care about such lists?  You're saying it
    Alfred> "expects" them to be alists, but if it gets another list that is not
    Alfred> an alist .. it fails.  That is the same behaviour as rest of Emacs,
    Alfred> no?

Except that alist-get, assoc, etc donʼt fail (or at least: the
resulting structure is more coherent than what map-put! produces).

Robert
--