From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: list versus apply Date: Mon, 06 Jun 2005 06:37:20 +1000 Message-ID: <87hdgck0an.fsf@zip.com.au> References: <87mzrtgkbr.fsf@zip.com.au> <87k6l8yam0.fsf@zagadka.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118003863 3899 80.91.229.2 (5 Jun 2005 20:37:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Jun 2005 20:37:43 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Jun 05 22:37:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Df1rV-0006oV-1b for guile-devel@m.gmane.org; Sun, 05 Jun 2005 22:36:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Df1xf-0006gg-6Y for guile-devel@m.gmane.org; Sun, 05 Jun 2005 16:43:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Df1xR-0006fS-6y for guile-devel@gnu.org; Sun, 05 Jun 2005 16:42:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Df1xP-0006eO-CF for guile-devel@gnu.org; Sun, 05 Jun 2005 16:42:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Df1xO-0006dd-Ud for guile-devel@gnu.org; Sun, 05 Jun 2005 16:42:54 -0400 Original-Received: from [61.8.0.84] (helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Df1v7-0004HJ-Ld for guile-devel@gnu.org; Sun, 05 Jun 2005 16:40:34 -0400 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87]) by mailout1.pacific.net.au (8.13.4/8.13.4/Debian-1) with ESMTP id j55KbPNC016779; Mon, 6 Jun 2005 06:37:25 +1000 Original-Received: from localhost (ppp24C9.dyn.pacific.net.au [61.8.36.201]) by mailproxy2.pacific.net.au (8.13.4/8.13.4/Debian-1) with ESMTP id j55KbOEq005321; Mon, 6 Jun 2005 06:37:25 +1000 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1Df1s0-0000VY-00; Mon, 06 Jun 2005 06:37:20 +1000 Original-To: Marius Vollmer Mail-Copies-To: never In-Reply-To: <87k6l8yam0.fsf@zagadka.de> (Marius Vollmer's message of "Sun, 05 Jun 2005 20:30:47 +0300") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.3 (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:5066 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:5066 Marius Vollmer writes: > > (define (list . args) args) > > is an acceptable definition of list. Is it not? Yep, because args is of course a fresh list when calling a lambda, but it looks like primitives (C code) aren't called with a copied list like that. (I guess having primitives like that makes some sense, only a few are interested in modifying or re-using their input "rest" list.) _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel