[R6RS] Does for-each tail-call on last element?

dyb at cs.indiana.edu dyb at cs.indiana.edu
Fri Aug 18 10:22:28 EDT 2006


> Subject basically says it.  Should `for-each' be specified to perform
> a tail call on the procedure when it reaches the last element(s)?  (We
> do something analogous for, say, `forall' and `exists'.)

It seems like an unnecessary constraint to me, but I don't care much one
way or the other.  If we do make this change, we can no longer claim
for-each returns an (the) unspecified value.

Kent



More information about the R6RS mailing list