Re: [Scheme-reports] multiple values module xacc.ide@gmail.com (20 May 2011 20:07 UTC)
Re: [Scheme-reports] multiple values module Peter Bex (22 May 2011 16:49 UTC)
Re: [Scheme-reports] multiple values module Alaric Snell-Pym (23 May 2011 11:49 UTC)
Re: [Scheme-reports] multiple values module Aaron W. Hsu (23 May 2011 22:05 UTC)

Re: [Scheme-reports] multiple values module xacc.ide@gmail.com 20 May 2011 20:07 UTC

> You are misled.  Chibi's implementation (or its strategy anyway) is
> allowed by the R5RS, which states that the effect of returning a number
> of values that a continuation is not expecting is undefined.

> Sorry, you really can't do that without breaking compatibility with many
> implementations.

If your Scheme accepts (values 1 (values 1 2 3) 3) [1], your Scheme is
broken.

I think Eli said it was nonsensical, I completely agree.

Cheers

leppie

Disclaimer: IronScheme is broken too in that respect.

[1] Or (values 1 (list (values 1 2 3)) 3) if your Scheme tries to be a
little more clever.

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports