[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt
From: |
Drew Adams |
Subject: |
bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt |
Date: |
Thu, 28 Apr 2022 16:00:23 +0000 |
> It is a natural consequence of list structure that
> deleting the first element doesn't do it destructively,
> so you need to do (setq foo (delq elt foo))
>
> This is a general principal of deletion in Lisp, so
> let's teach it to people rather than trying to help
> people avoid the need to learn it.
+1.