From: taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer)
To: Mark H Weaver <mhw@netris.org>
Cc: 21379@debbugs.gnu.org
Subject: bug#21379: datum->syntax chokes on lists of syntax objects
Date: Wed, 02 Sep 2015 10:28:39 +0200 [thread overview]
Message-ID: <87egihdy2w.fsf@T420.taylan> (raw)
In-Reply-To: <87613t8vc2.fsf@netris.org> (Mark H. Weaver's message of "Tue, 01 Sep 2015 21:26:53 -0400")
[-- Attachment #1: Type: text/plain, Size: 238 bytes --]
Mark H Weaver <mhw@netris.org> writes:
> How about changing the first formal argument name to 'template-id' and
> changing the words "syntax object" to "identifier"?
>
> Thanks!
> Mark
Sure, updated patch attached.
Taylan
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Amend-datum-syntax-documentation.patch --]
[-- Type: text/x-diff, Size: 1163 bytes --]
From 2ba9474dc8e2a56524d8c6c2f640fb3fb35b2d14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?=
<taylanbayirli@gmail.com>
Date: Sun, 30 Aug 2015 10:24:52 +0200
Subject: [PATCH] Amend datum->syntax documentation.
* doc/ref/api-macros.texi (Syntax Case): Make it clear that the first
argument to datum->syntax must be an identifier.
---
doc/ref/api-macros.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/ref/api-macros.texi b/doc/ref/api-macros.texi
index c2910a4..a828258 100644
--- a/doc/ref/api-macros.texi
+++ b/doc/ref/api-macros.texi
@@ -616,9 +616,9 @@ won't have access to the binding of @code{it}.
But they can, if we explicitly introduce a binding via @code{datum->syntax}.
-@deffn {Scheme Procedure} datum->syntax for-syntax datum
+@deffn {Scheme Procedure} datum->syntax template-id datum
Create a syntax object that wraps @var{datum}, within the lexical context
-corresponding to the syntax object @var{for-syntax}.
+corresponding to the identifier @var{template-id}.
@end deffn
For completeness, we should mention that it is possible to strip the metadata
--
2.5.0
next prev parent reply other threads:[~2015-09-02 8:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-30 8:31 bug#21379: datum->syntax chokes on lists of syntax objects Taylan Ulrich Bayırlı/Kammer
2015-09-02 1:26 ` Mark H Weaver
2015-09-02 8:28 ` Taylan Ulrich Bayırlı/Kammer [this message]
2015-09-02 18:11 ` Mark H Weaver
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87egihdy2w.fsf@T420.taylan \
--to=taylanbayirli@gmail.com \
--cc=21379@debbugs.gnu.org \
--cc=mhw@netris.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).