From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric J. Van der Velden" Newsgroups: gmane.lisp.guile.user Subject: map, for-each Date: Thu, 26 Aug 2010 13:17:38 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015174be22c58696c048eb82575 X-Trace: dough.gmane.org 1282821483 1585 80.91.229.12 (26 Aug 2010 11:18:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Aug 2010 11:18:03 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Aug 26 13:18:01 2010 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OoaT2-00028R-UG for guile-user@m.gmane.org; Thu, 26 Aug 2010 13:18:01 +0200 Original-Received: from localhost ([127.0.0.1]:59424 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoaT2-0005qE-20 for guile-user@m.gmane.org; Thu, 26 Aug 2010 07:18:00 -0400 Original-Received: from [140.186.70.92] (port=48518 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoaSl-0005pv-EL for guile-user@gnu.org; Thu, 26 Aug 2010 07:17:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OoaSi-0006bn-F8 for guile-user@gnu.org; Thu, 26 Aug 2010 07:17:43 -0400 Original-Received: from mail-ew0-f41.google.com ([209.85.215.41]:33881) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OoaSi-0006ao-Ac for guile-user@gnu.org; Thu, 26 Aug 2010 07:17:40 -0400 Original-Received: by ewy28 with SMTP id 28so1322691ewy.0 for ; Thu, 26 Aug 2010 04:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=DvbfTQM/4Jx3PEqHv3MTCzUg0UR3NxMQM0IUJG5NfFs=; b=ShLoXREMsvlmEMPkAvXQxc6xqUmpSNM+0lOrtC8bAuxDYdlKjikE/s+WYH4gZfdgNl PgYuvJKhHC6YOooK7+Xv5laXF5VZBEMv6Ounqu2rjpUsy/tqssCNMCLMW12ck7C+IwBJ mgyzASe1dTABYVuvkHQPg5c567vU4E6dJaGSY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ASL2TxwXq2vQyv9YMEv4fld6hfD45zC2Pb1Qh55RPmgugHxwW3LJpNJkYJThC8Hizj PeyHdE8FINshp1nUDNC0Qsrm2+jPNpwD8x3qZpWBKTud7PBYZUy/MWDOP+BktZx70TKe OkCt/dO+QLoOtfEnJh1Y9ZtllnGO3xnLDKYBg= Original-Received: by 10.213.19.203 with SMTP id c11mr5580722ebb.31.1282821458520; Thu, 26 Aug 2010 04:17:38 -0700 (PDT) Original-Received: by 10.213.33.4 with HTTP; Thu, 26 Aug 2010 04:17:38 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8100 Archived-At: --0015174be22c58696c048eb82575 Content-Type: text/plain; charset=ISO-8859-1 Hello, I don't understand what the manual says about when there are more then two arguments to map or for-each. With two arguments, the last one must be a list, so OK is (for-each display '(1 3)) But the following are ERR, (for-each display 1 3) (for-each display '(1 3) '(1 3)) Thanks, Eric J. --0015174be22c58696c048eb82575 Content-Type: text/html; charset=ISO-8859-1 Hello,

I don't understand what the manual says about when there are more then two arguments to map or for-each.

With two arguments, the last one must be a list, so OK is

(for-each display '(1 3))

But the following are ERR,

(for-each display 1 3)

(for-each display '(1 3) '(1 3))

Thanks,

Eric J.



--0015174be22c58696c048eb82575--