Re: [Scheme-reports] multiple values module
Andy Wingo 20 May 2011 16:03 UTC
On Fri 20 May 2011 17:58, John Cowan <cowan@mercury.ccil.org> writes:
> Eli Barzilay scripsit:
>
>> IMO implementations that do some half-baked reification of multiple
>> values as first-class values are broken. Things like (list (values 1
>> 2) 3) or (define x (values 1 2)) should throw an error.
>
> Well, you can write a conformant implementation that does so. Or you
> can have one that does it CL-style. Or you can use a unique type, or
> even a non-unique type.
There is also the approach of using no type at all and returning the
values on the stack.
Andy
--
http://wingolog.org/
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports