From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!nmaster.kpnqwest.net!nreader2.kpnqwest.net.POSTED!not-for-mail Newsgroups: comp.lang.lisp Subject: Re: quest for pass-by-reference semantics in CL References: <2h6627rlr0.fsf@vserver.cs.uit.no> Mail-Copies-To: never From: Erik Naggum Message-ID: <3229346381256292@naggum.net> Organization: Naggum Software, Oslo, Norway Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 02 May 2002 16:39:41 GMT X-Complaints-To: newsmaster@KPNQwest.no X-Trace: nreader2.kpnqwest.net 1020357581 193.71.199.50 (Thu, 02 May 2002 18:39:41 MET DST) NNTP-Posting-Date: Thu, 02 May 2002 18:39:41 MET DST Xref: archiver1.google.com comp.lang.lisp:32622 * Frode Vatvedt Fjeld | Would it be wrong to say that CL is pass-by-reference, with the | exception of numbers and characters, which are pass-by-value? Yes. Passing pointers is not the same as pass-by-reference. "Pass by reference" means that a reference to the storage of the value is passed, but the value in Common Lisp is a pointer or a number/character. Common Lisp does _not_ pass a pointer to the pointer-or-number/character. -- In a fight against something, the fight has value, victory has none. In a fight for something, the fight is a loss, victory merely relief. 70 percent of American adults do not understand the scientific process.