[r6rs-discuss] multiple values and mathematicians
Andrew Reilly
andrew-scheme at areilly.bpc-users.org
Fri Feb 20 08:35:28 EST 2009
On Fri, Feb 20, 2009 at 06:29:50AM -0500, Lynn Winebarger wrote:
> I would think set! is a much more troubling feature than multiple values.
I'm mostly happy to avoid set. I certainly don't muck about
with set-car! and set-cdr! and friends, now.
> The problem with multiple values is that you need kluges like call-with
> values and values to use the feature. Making those warts disappear would be
> a useful improvement.
I'm fairly partial to PLT's "compose", although that's clearly
just convenient syntax for call-woth-values. Let-values is OK,
too, if you need to do different things with the different
results.
Cheers,
Andrew.
More information about the r6rs-discuss
mailing list