From ... From: Erik Naggum Subject: Re: problem with delete Date: 2000/10/02 Message-ID: <3179498767555597@naggum.net>#1/1 X-Deja-AN: 676922437 References: <8r9vam$ie5$1@curofix.ida.liu.se> <2hem1zflv0.fsf@dslab7.cs.uit.no> <3179487227972133@naggum.net> <2h4s2vff1m.fsf@dslab7.cs.uit.no> mail-copies-to: never Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsmaster@eunet.no X-Trace: oslo-nntp.eunet.no 970551850 5016 195.0.192.66 (3 Oct 2000 05:44:10 GMT) Organization: Naggum Software; vox: +47 800 35477; gsm: +47 93 256 360; fax: +47 93 270 868; http://naggum.no; http://naggum.net User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 Mime-Version: 1.0 NNTP-Posting-Date: 3 Oct 2000 05:44:10 GMT Newsgroups: comp.lang.lisp * Frode Vatvedt Fjeld | Really? My understanding of the hyperspec is that DELETE may or may | not modify the list. So what is | | (let ((list '(1 2 3 4))) | (delete 2 list) | list) | | defined to return? Apart from the undefined behavior of modifying a constant, of course, the first cons cell of the original list. (You didn't expect this. :) #:Erik -- If this is not what you expected, please alter your expectations.