[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two r6rs bugs

From: Mike Gran
Subject: Re: Two r6rs bugs
Date: Thu, 22 Nov 2012 03:38:24 -0800 (PST)

> From: Ian Price <address@hidden>
> The first replaces the definition of string-for-each in (rnrs
> base). R6RS's version of string-for-each is not the same as srfi 13's
> string for each (which guile provides by default). Rather, it is more
> closely analogous to the usual multi-list definition of for-each. The
> R6RS specifies that all arguments must have the same length, and so I've
> thrown an &assertion in this case.

For what it is worth, R7RS WG1 draft 6 says "If more than one 
strings have the same length, 
when the shortest string runs out."string is given and not allstring-for-each 

Since R7RS is just going to undo the change, it hardly seems
worth changing, in my opinion.

-Mike Gran

reply via email to

[Prev in Thread] Current Thread [Next in Thread]