[R6RS] Convenient syntax for multiple values

Michael Sperber sperber
Tue Jan 18 12:31:29 EST 2005

>>>>> "Manuel" == Manuel Serrano <Manuel.Serrano at sophia.inria.fr> writes:

>> I am curious how you got to your impression, as no implementation I
>> know (including the SRFI reference implementation) implies that
>> "multiple values are represented by lists."

Manuel> Because of the . notation as in:

Manuel>  (let-values (((a b . c) (foo bar)))
Manuel>    ...)

Ah, OK, thanks.  However, that's only if you use the dot notation,
implying in your source code *that you want a list*.  This case isn't
covered by MULTIPLE-VALUE-LET/RECEIVE.  For the cases these do cover,
LET-VALUES generates equivalent code with no list allocation.  Does
this address your concern?

Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla

More information about the R6RS mailing list