unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* latest cvs and srfi-1 for-each
@ 2003-01-31 21:37 Kevin Ryde
  2003-02-03 14:50 ` Mikael Djurfeldt
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Ryde @ 2003-01-31 21:37 UTC (permalink / raw)


In the latest cvs built on a recent i386 debian, srfi-1 for-each seems
to have stopped working,

	(use-modules (srfi srfi-1))
	(for-each noop '(1 2) '(3 4))

gives

	Backtrace:
	In standard input:
	   5: 0* [for-each #<primitive-procedure noop> (1 2) (3 4)]

	standard input:5:1: In procedure for-each in expression (for-each noop
	(quote #) ...):
	standard input:5:1: Wrong type argument in position 3: (3 4)
	ABORT: (wrong-type-arg)

whereas I expected it to do nothing, which is what it does without the
srfi-1 module, or in either mode in 1.6.1.  I noticed it in a program
that used srfi-1 for other purposes and happened then to get the
enhanced for-each.

In any case I expect this is work in progress, but just so long as
someone knows, or if it might form some sort of test case.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


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

* Re: latest cvs and srfi-1 for-each
  2003-01-31 21:37 latest cvs and srfi-1 for-each Kevin Ryde
@ 2003-02-03 14:50 ` Mikael Djurfeldt
  0 siblings, 0 replies; 2+ messages in thread
From: Mikael Djurfeldt @ 2003-02-03 14:50 UTC (permalink / raw)
  Cc: guile-devel

Kevin Ryde <user42@zip.com.au> writes:

> In the latest cvs built on a recent i386 debian, srfi-1 for-each seems
> to have stopped working,

* srfi-1.c (srfi1_for_each): Corrected argument checking for the
case of two argument lists.  (Thanks to Kevin Ryde.)


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile


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

end of thread, other threads:[~2003-02-03 14:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-31 21:37 latest cvs and srfi-1 for-each Kevin Ryde
2003-02-03 14:50 ` Mikael Djurfeldt

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).