[r6rs-discuss] Multiple returns from higher-order procedures
AndrevanTonder
andre at het.brown.edu
Sat Jun 16 12:14:11 EDT 2007
On Sat, 16 Jun 2007, Michael Sperber wrote:
>> The following will often return lists
>>
>> FOLD-LEFT, FOLD-RIGHT
>>
>> but even in the case where they do not generate lists, the above requirement
>> will still make sense (it just refers to "return value of earlier returns").
>
> Could you explain? It seems clear from the description that `fold-left'
> doesn't mutate the intermediate values, simply by the absence of
> anything saying that it does mutate. (This is different from those that
> generate intermediate data structures themselves.)
You are right, of course. Sorry.
Cheers
Andre
More information about the r6rs-discuss
mailing list