summaryrefslogtreecommitdiff
path: root/doc/ref/scheme-control.texi
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2003-08-29 23:22:30 +0000
committerKevin Ryde <user42@zip.com.au>2003-08-29 23:22:30 +0000
commitd61d8580a5f38663a36e60e1c22a68186bf55363 (patch)
tree21eb359937842d3b731f2309bd85654767103e3b /doc/ref/scheme-control.texi
parentc6ba64cd3e983c29d55a338f60e5a7d51feff758 (diff)
downloadguile-d61d8580a5f38663a36e60e1c22a68186bf55363.tar.gz
(Multiple Values): In values, show args as "arg1
... argN". In scm_values, note args is a list and returned object shares structure with it.
Diffstat (limited to 'doc/ref/scheme-control.texi')
-rw-r--r--doc/ref/scheme-control.texi7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/ref/scheme-control.texi b/doc/ref/scheme-control.texi
index 8a3884a62..a16f1dcce 100644
--- a/doc/ref/scheme-control.texi
+++ b/doc/ref/scheme-control.texi
@@ -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