Re: Unspecified result Marc Nieper-Wißkirchen 07 Nov 2022 13:00 UTC

Am Mo., 7. Nov. 2022 um 13:01 Uhr schrieb Lassi Kortela <xxxxxx@lassi.io>:
>
> "The result of the independently expression is unspecified."
>
> I foresee potential problems if the result is permitted to be one of the
> subexpressions' results (chosen arbitrarily). Should the result always
> be the same constant value?

In what sense do you think that potential problems arise?

An expression like "(set! <identifier> <expression>)" could, in
principle, return the value, which is assigned to the identifier.

From a theoretical point of view, the only convincing stricter
semantics would be to return no values (as per "(values)").