* bug#27209: [minor] documentation of tree-il/lambda-case
@ 2017-06-03 12:54 Matt Wette
2020-03-27 17:26 ` bug#27209: patch Matt Wette
0 siblings, 1 reply; 3+ messages in thread
From: Matt Wette @ 2017-06-03 12:54 UTC (permalink / raw)
To: 27209
In the documentation on lambda-case under Tree-IL there is a paragraph starting with “kw is a list of the form …”.
The paragraph does not specify what to use if there are no keywords. I believe in this case the argument should be #f.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#27209: patch
2017-06-03 12:54 bug#27209: [minor] documentation of tree-il/lambda-case Matt Wette
@ 2020-03-27 17:26 ` Matt Wette
2020-03-28 11:45 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Matt Wette @ 2020-03-27 17:26 UTC (permalink / raw)
To: 27209
[-- Attachment #1: Type: text/plain, Size: 77 bytes --]
attached is patch : added ", or @code{#f} if there are no keyword arguments"
[-- Attachment #2: 0001-doc-ref-compiler.texi-for-description-of-lambda-case.patch --]
[-- Type: text/x-patch, Size: 1658 bytes --]
From 2c3f7ea9ddd9d245a000ad8b19176f132607405b Mon Sep 17 00:00:00 2001
From: Matt Wette <mwette@alumni.caltech.edu>
Date: Fri, 27 Mar 2020 10:19:53 -0700
Subject: [PATCH] * doc/ref/compiler.texi: for description of
lambda-case argument 'kw' added "or @code{#f} if there are no keyword
arguments"
---
doc/ref/compiler.texi | 11 ++++++-----
1 file 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
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#27209: patch
2020-03-27 17:26 ` bug#27209: patch Matt Wette
@ 2020-03-28 11:45 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2020-03-28 11:45 UTC (permalink / raw)
To: Matt Wette; +Cc: 27209-done
Hi Matt,
Matt Wette <matt.wette@gmail.com> skribis:
>>From 2c3f7ea9ddd9d245a000ad8b19176f132607405b Mon Sep 17 00:00:00 2001
> From: Matt Wette <mwette@alumni.caltech.edu>
> Date: Fri, 27 Mar 2020 10:19:53 -0700
> Subject: [PATCH] * doc/ref/compiler.texi: for description of
> lambda-case argument 'kw' added "or @code{#f} if there are no keyword
> arguments"
>
> ---
> doc/ref/compiler.texi | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)
I adjusted the commit log to match our conventions and pushed as
e37b1fb34c7114a2ddbde0f51d8f0ec5883c8582.
Thanks!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-28 11:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-03 12:54 bug#27209: [minor] documentation of tree-il/lambda-case Matt Wette
2020-03-27 17:26 ` bug#27209: patch Matt Wette
2020-03-28 11:45 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).