|
From: | Lennart Borgman |
Subject: | Re: assoc-delete-all |
Date: | Sun, 03 Jul 2005 09:30:39 +0200 |
User-agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
Juanma Barranquero wrote:
... will do what you want, but it will still share conses with the original list. Other implementations can use `copy-tree' or `copy-alist', but really, there's no one answer that is good for every situation. Kent M. Pitman did a wonderful article about this issue (he was speaking of copy) a long time ago: "The Best of Intentions: EQUAL Rights--and Wrongs--in Lisp", http://www.nhplace.com/kent/PS/EQUAL.html
Thanks for the good lessons.
[Prev in Thread] | Current Thread | [Next in Thread] |