mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
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>
This commit is contained in:
parent
84a61d87ea
commit
e37b1fb34c
1 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue