[r6rs-discuss] [Formal] last-element behavior of for-each

From: John Cowan <cowan>
Date: Tue Oct 3 09:26:58 2006

Per Bothner scripsit:

> I propose that the return value of for-each be "the unspecified
> value" [pending resolution of this issue], and the requirement
> for special handling of the last element be removed.

+1

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.

-- 
A few times, I did some exuberant stomping about,       John Cowan
like a hippo auditioning for Riverdance, though         cowan_at_ccil.org
I stopped when I thought I heard something at           http://ccil.org/~cowan
the far side of the room falling over in rhythm
with my feet.  -- Joseph Zitt
Received on Tue Oct 03 2006 - 09:26:53 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC