[r6rs-discuss] [Formal] last-element behavior of for-each
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Fri Oct 6 16:31:33 EDT 2006
John Cowan <cowan at ccil.org> writes:
> If we don't care about the results of the function on any of the
> preceding elements, why are we likely to care on the final elements,
> indeed? I don't remember ever using for-each for anything but effect.
I suppose the tail call was the motivation, rather than the result.
But I agree that it's perhaps not worth the trouble, i.e. that
programmers shouldn't expect a tail call here.
__("< Marcin Kowalczyk
\__/ qrczak at knm.org.pl
More information about the r6rs-discuss