From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: for-each and varargs Date: Mon, 10 Feb 2003 08:28:46 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87of5lf5r5.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044829656 24490 80.91.224.249 (9 Feb 2003 22:27:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 9 Feb 2003 22:27:36 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18hzvD-0006Mq-00 for ; Sun, 09 Feb 2003 23:27:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18hzx2-0004KN-09 for guile-devel@m.gmane.org; Sun, 09 Feb 2003 17:29:28 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18hzwk-0004Ij-00 for guile-devel@gnu.org; Sun, 09 Feb 2003 17:29:10 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18hzwi-0004FZ-00 for guile-devel@gnu.org; Sun, 09 Feb 2003 17:29:09 -0500 Original-Received: from sunny.pacific.net.au ([203.2.228.40]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18hzwh-0004C6-00 for guile-devel@gnu.org; Sun, 09 Feb 2003 17:29:08 -0500 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h19MT5Mr029291 for ; Mon, 10 Feb 2003 09:29:05 +1100 (EST) Original-Received: from localhost (ppp41.dyn228.pacific.net.au [203.143.228.41]) by wisma.pacific.net.au with ESMTP id JAA01731 for ; Mon, 10 Feb 2003 09:29:04 +1100 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 18hzwN-0001IN-00; Mon, 10 Feb 2003 08:28:47 +1000 Original-To: guile-devel@gnu.org User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (i386-pc-linux-gnu) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:1906 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1906 In the latest cvs built on a recent i386 debian, for-each doesn't always seem to like a procedure taking a variable number of arguments. For instance foo.scm, (for-each (lambda (x . y) (display x)) '(1 2 3)) run with "guile -s foo.scm" gives ERROR: In procedure for-each: ERROR: Wrong type argument in position 1: # whereas I hoped it would display `123'. Curiously this is what it does when run interatively, not with "guile -s". I noticed this in guile-www where http.scm maps display-with-crlf across a list of header strings. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel