From: Jörg "F. Wittenberger" <[email protected]>
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

_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to