unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* map, for-each
@ 2010-08-26 11:17 Eric J. Van der Velden
  2010-08-26 12:16 ` Paul Emsley
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eric J. Van der Velden @ 2010-08-26 11:17 UTC (permalink / raw)
  To: guile-user

[-- Attachment #1: Type: text/plain, Size: 303 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 385 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-28 19:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-26 11:17 map, for-each Eric J. Van der Velden
2010-08-26 12:16 ` Paul Emsley
2010-08-26 12:19 ` Thien-Thi Nguyen
2010-08-28 19:35 ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).