[r6rs-discuss] "Unspecified"

From: Per Bothner <per>
Date: Mon Oct 2 11:52:28 2006

Robby Findler wrote:
> At Mon, 02 Oct 2006 07:32:52 -0700, Per Bothner wrote:
>> Sam Tobin-Hochstadt wrote:
>>> You are correct. My intention was to write the following:
>>>
>>> (define (for-each/logging f l)
>>> (for-each (lambda (v) (let ([w (f v)]) (display w) (newline) w)) l))
>>>
>>> which has the problem I was attempting to point out.
>> In R5RS or draft R6RS the result of set-vector! is unspecified
>> anyway, so the above display is undefined. So I don't think
>> I understand your concern.
>
> He's talking about standard practice.

You mean passing the output of set-vector! to display is standard
practice? I'm scared ...
-- 
	--Per Bothner
per_at_bothner.com   http://per.bothner.com/
Received on Mon Oct 02 2006 - 11:52:06 UTC

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