Newsgroups: comp.lang.lisp
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!swrinde!pipex!uunet!franz.com!news
From: georgej@Franz.COM (George Jacob)
Subject: Re: Delete and Remove with 0
In-Reply-To: woodforc@jupiter.ece.clarkson.edu's message of 29 Nov 1994 20:49:25 GMT
Message-ID: <GEORGEJ.94Nov30103051@lava.Franz.COM>
Lines: 39
Sender: news@franz.com
Nntp-Posting-Host: lava
Organization: Franz Inc., Berkeley, CA
References: <WOODFORC.94Nov29154926@jupiter.ece.clarkson.edu>
Date: Wed, 30 Nov 1994 18:30:49 GMT

| In article <WOODFORC.94Nov29154926@jupiter.ece.clarkson.edu> woodforc@jupiter.ece.clarkson.edu (Chad Woodford) writes:
| 
|    Has anyone else had a problem with trying to use 'remove' or 'delete'
|    on a list when one of the elements is 0?  It doesn't seem to work very
|    well.  I'm using Allegro CL 4.1 in case you are wondering.
| 
|    Chad

Chad,

;;;;;;;;;;;;;;
Allegro CL 4.1 [SPARC; R1] (5/29/92 16:51)
Copyright (C) 1985-1992, Franz Inc., Berkeley, CA, USA.  All Rights Reserved.
;; Optimization settings: safety 1, space 1, speed 1, debug 2
;; For a complete description of all compiler switches given the current
;; optimization settings evaluate (EXPLAIN-COMPILER-SETTINGS).
USER(1): (delete 0 '(0 1 2 3 4))
(1 2 3 4)
USER(2): (delete 1 '(0 1 2 3 4))
(0 2 3 4)
USER(3): (remove 0 '(0 1 2 3 4))
(1 2 3 4)
USER(4): (remove 1 '(0 1 2 3 4))
(0 2 3 4)
;;;;;;;;;;;;;;

Could you define "doesn't seem to work very well" a little more
precisely?  Thanks! 

-- 

---------------------------------------------------------------
George Jacob                      Internet: georgej@franz.com
Franz Inc.,                       http:     //www.franz.com/
1995 University Avenue,           Phone:    (510) 548-3600
Berkeley, CA 94704.               FAX:      (510) 548-8253
	ACL Unix    FAQ: ftp.uu.net:/vendor/franz/faq
	ACL Windows FAQ: ftp.uu.net:/vendor/franz/acl4w-faq
---------------------------------------------------------------
