From d61d8580a5f38663a36e60e1c22a68186bf55363 Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Fri, 29 Aug 2003 23:22:30 +0000 Subject: [PATCH] (Multiple Values): In values, show args as "arg1 ... argN". In scm_values, note args is a list and returned object shares structure with it. --- doc/ref/scheme-control.texi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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