values[procedure] values obj ...
R5RS, R6RS: Delivers all of its arguments to its continuation.
In R5RS, all continuations take exactly one value, except
for continuations created by the call-with-values procedure.
However, the effect to pass the different number of values from
what the continuation expects is undefined; some implementations
may raise an exception, or some may simply ignores the excess
values, etc.
R6RS mentions that (a) continuations of the non-final expressions
(i.e. the expression whose value is discarded) takes any number
of values, and (b) continuations of an expression evaluates to
an argument of a procedure takes exactly one value.
It also says that an exception is raised when different number
of values are passed to the continuation.
See also call-with-values, receive.
|