chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] handling the undefined value


From: Felix
Subject: Re: [Chicken-users] handling the undefined value
Date: Wed, 24 Nov 2010 18:53:26 +0100 (CET)

From: Jörg "F. Wittenberger" <address@hidden>
Subject: Re: [Chicken-users] handling the undefined value
Date: Mon, 22 Nov 2010 15:08:46 +0100

> Have a compiler switch (since it may break some code), which changes the
> code to return zero values instead of the distinguished undefined value.

I don't think this is a great idea: this will change the
semantics of code using call-with-values, will be less efficient,
and may throw errors in some cases - R5RS (in contrast to CL and
R6RS) does not automatically adjust the number of result values
to the number of values expected by the location where the
result(s) is/are used.


cheers,
felix



reply via email to

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