diff options
author | Matt Wette <mwette@alumni.caltech.edu> | 2020-03-27 10:19:53 -0700 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-03-28 12:42:09 +0100 |
commit | e37b1fb34c7114a2ddbde0f51d8f0ec5883c8582 (patch) | |
tree | 577ac474c6c2878c5bd36390d023fb17e2dee296 | |
parent | 84a61d87ea08c50c36ccb460a781ffe271efbf06 (diff) | |
download | guile-e37b1fb34c7114a2ddbde0f51d8f0ec5883c8582.tar.gz |
doc: Improve tree-il 'lambda-case' description.
* doc/ref/compiler.texi (Tree-IL): for description of lambda-case
argument 'kw' added "or @code{#f} if there are no keyword arguments".
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | doc/ref/compiler.texi | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/ref/compiler.texi b/doc/ref/compiler.texi index 8b99d43f1..b1664300a 100644 --- a/doc/ref/compiler.texi +++ b/doc/ref/compiler.texi @@ -419,11 +419,12 @@ argument, or @code{#f}. @var{kw} is a list of the form, @code{(@var{allow-other-keys?} (@var{keyword} @var{name} @var{var}) ...)}, where @var{keyword} is the keyword corresponding to the argument named @var{name}, and whose -corresponding gensym is @var{var}. @var{inits} are tree-il expressions -corresponding to all of the optional and keyword arguments, evaluated to -bind variables whose value is not supplied by the procedure caller. -Each @var{init} expression is evaluated in the lexical context of -previously bound variables, from left to right. +corresponding gensym is @var{var}, or @code{#f} if there are no keyword +arguments. @var{inits} are tree-il expressions corresponding to all of +the optional and keyword arguments, evaluated to bind variables whose +value is not supplied by the procedure caller. Each @var{init} +expression is evaluated in the lexical context of previously bound +variables, from left to right. @var{gensyms} is a list of gensyms corresponding to all arguments: first all of the required arguments, then the optional arguments if |