scsh-users
[Top] [All Lists]

Re: return value of do

To: scsh <scsh@zurich.csail.mit.edu>
Subject: Re: return value of do
From: Michael Sperber <sperber@informatik.uni-tuebingen.de>
Date: Thu, 26 Feb 2004 12:59:27 +0100
>>>>> "Andreas" == Andreas Bernauer <andreas.bernauer@gmx.de> writes:

Andreas> R5RS says (4.2.4):

Andreas>   If <test> evaluates to a true value, then ... . If no <expression>s
Andreas>   are present, then the value of the `do' expression is unspecified.

Andreas> So I expected the unspecified value when there is no
Andreas> expression.

You misunderstand R5RS.

When R5RS says some value is unspecified, it means that the Scheme
system can choose whatever value it wants as that value.

True, scsh/Scheme 48 uses "unspecific" (a different word) in other
places, but I don't think that supposed to refer to the word
"unspecfied" in R5RS specifically.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

<Prev in Thread] Current Thread [Next in Thread>