[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (+ (values 1 2)) should be 1

From: Mark H Weaver
Subject: Re: (+ (values 1 2)) should be 1
Date: Wed, 25 May 2011 12:54:26 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Hans Aberg <address@hidden> writes:

> On 25 May 2011, at 02:25, Mark H Weaver wrote:
>>> Right, but as the result is unspecified according to the standard, the
>>> Guile manual suggests that the value SCM_UNSPECIFIED as an
>>> interpretation of that. I merely say that I think it would be a good
>>> idea.
> ...
>> Having said all this, one could still make the case that we should
>> attempt to return SCM_UNSPECIFIED from expressions whose values are
>> unspecified by the standards whenever _practical_.  However, doing this
>> would prevent us from implementing extensions to many aspects of the
>> standard.
> Then sec. of the manual needs to be clarified. It should say
> if a returned value is SCM_UNSPECIFIED then the standard says it is
> unspecified, but not the other way around.

Okay, I have clarified the description of SCM_UNSPECIFIED.
Thanks for pointing this out.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]