[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] multiple values module
On Fri 20 May 2011 17:58, John Cowan <cowan@x> 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@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports