[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 01/01: Clarify datum->syntax documentation.
From: |
Mark H. Weaver |
Subject: |
[Guile-commits] 01/01: Clarify datum->syntax documentation. |
Date: |
Wed, 02 Sep 2015 18:10:16 +0000 |
mhw pushed a commit to branch stable-2.0
in repository guile.
commit 5d66fd3fcf31c201acdcf3004cd73d072eac0d51
Author: Taylan Ulrich Bayırlı/Kammer <address@hidden>
Date: Sun Aug 30 10:24:52 2015 +0200
Clarify 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 | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/ref/api-macros.texi b/doc/ref/api-macros.texi
index c2910a4..efb1028 100644
--- a/doc/ref/api-macros.texi
+++ b/doc/ref/api-macros.texi
@@ -1,7 +1,7 @@
@c -*-texinfo-*-
@c This is part of the GNU Guile Reference Manual.
address@hidden Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2009,
2010, 2011,
address@hidden 2012, 2013, 2014 Free Software Foundation, Inc.
address@hidden Copyright (C) 1996, 1997, 2000-2004, 2009-2015
address@hidden Free Software Foundation, Inc.
@c See the file guile.texi for copying conditions.
@node Macros
@@ -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}.
address@hidden {Scheme Procedure} datum->syntax for-syntax datum
address@hidden {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