mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 22:31:12 +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:
parent
c6ba64cd3e
commit
d61d8580a5
1 changed files with 6 additions and 1 deletions
|
@ -446,13 +446,18 @@ multiple values with a procedure which accepts these values as
|
|||
parameters.
|
||||
|
||||
@rnindex values
|
||||
@deffn {Scheme Procedure} values . args
|
||||
@deffn {Scheme Procedure} values arg1 @dots{} argN
|
||||
@deffnx {C Function} scm_values (args)
|
||||
Delivers all of its arguments to its continuation. Except for
|
||||
continuations created by the @code{call-with-values} procedure,
|
||||
all continuations take exactly one value. The effect of
|
||||
passing no value or more than one value to continuations that
|
||||
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
|
||||
|
||||
@rnindex call-with-values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue