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

Re: [Scheme-reports] multiple values module

> 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 

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



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