1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-12 23:00:22 +02:00

(Multiple Values): In values, show args as "arg1

... argN".  In scm_values, note args is a list and returned object
shares structure with it.
This commit is contained in:
Kevin Ryde 2003-08-29 23:22:30 +00:00
parent c6ba64cd3e
commit d61d8580a5

View file

@ -446,13 +446,18 @@ multiple values with a procedure which accepts these values as
parameters. parameters.
@rnindex values @rnindex values
@deffn {Scheme Procedure} values . args @deffn {Scheme Procedure} values arg1 @dots{} argN
@deffnx {C Function} scm_values (args) @deffnx {C Function} scm_values (args)
Delivers all of its arguments to its continuation. Except for Delivers all of its arguments to its continuation. Except for
continuations created by the @code{call-with-values} procedure, continuations created by the @code{call-with-values} procedure,
all continuations take exactly one value. The effect of all continuations take exactly one value. The effect of
passing no value or more than one value to continuations that passing no value or more than one value to continuations that
were not created by @code{call-with-values} is unspecified. were not created by @code{call-with-values} is unspecified.
For @code{scm_values}, @var{args} is a list of arguments and the
return is a multiple-values object which the caller can return. In
the current implementation that object shares structure with
@var{args}, so @var{args} should not be modified subsequently.
@end deffn @end deffn
@rnindex call-with-values @rnindex call-with-values