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
^^ http://qrnik.knm.org.pl/~qrczak/
Received on Fri Oct 06 2006 - 16:31:33 UTC