From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: list versus apply Date: Sun, 05 Jun 2005 20:30:47 +0300 Message-ID: <87k6l8yam0.fsf@zagadka.de> References: <87mzrtgkbr.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117993324 5263 80.91.229.2 (5 Jun 2005 17:42:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Jun 2005 17:42:04 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Jun 05 19:42:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dez8I-0003VB-SJ for guile-devel@m.gmane.org; Sun, 05 Jun 2005 19:41:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DezEQ-0007Hn-Qo for guile-devel@m.gmane.org; Sun, 05 Jun 2005 13:48:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DezCM-0006OL-Pe for guile-devel@gnu.org; Sun, 05 Jun 2005 13:46:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DezCK-0006Nc-TI for guile-devel@gnu.org; Sun, 05 Jun 2005 13:46:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DezCJ-00063q-UF for guile-devel@gnu.org; Sun, 05 Jun 2005 13:46:08 -0400 Original-Received: from [213.243.153.35] (helo=smtp2.pp.htv.fi) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dez0Q-00039q-4I for guile-devel@gnu.org; Sun, 05 Jun 2005 13:33:50 -0400 Original-Received: from zagadka.ping.de (cs181072157.pp.htv.fi [82.181.72.157]) by smtp2.pp.htv.fi (Postfix) with SMTP id 8718C296B98 for ; Sun, 5 Jun 2005 20:30:47 +0300 (EEST) Original-Received: (qmail 19222 invoked by uid 1000); 5 Jun 2005 17:30:47 -0000 Original-To: guile-devel@gnu.org In-Reply-To: <87mzrtgkbr.fsf@zip.com.au> (Kevin Ryde's message of "Thu, 21 Apr 2005 08:22:16 +1000") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5064 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:5064 Kevin Ryde writes: > Looks like list doesn't produce a new list when called through apply, > > (define x '(1 2 3)) > (define y (apply list x)) > (eq? x y) > => #t Is it required to make a copy in this situation? I thought that (define (list . args) args) is an acceptable definition of list. Is it not? -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel