commit c0508d190cb311a6508f9730bcd4c0a336092c51
parent e972d53bed91c5407703de43a148c7e8be9354dd
Author: Wolfgang Corcoran-Mathe <wcm@sigwinch.xyz>
Date: Thu, 8 Feb 2024 19:22:34 -0500
Use @deffn for define-syntax.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/r7rs-small/program-structure.texinfo b/doc/r7rs-small/program-structure.texinfo
@@ -266,9 +266,7 @@ bound to the return values in the same way that the @svar{formals} in a
Syntax definitions have this form:
-@lisp
-(define-syntax @r{@svar{keyword} @svar{transformer spec}})
-@end lisp
+@deffn syntax define-syntax @svar{keyword} @svar{transformer spec}
@svar{Keyword} is an identifier, and the @svar{transformer spec} is
an instance of @code{syntax-rules}. Like variable definitions, syntax
@@ -322,6 +320,8 @@ are errors:
(plus foo x)))
@end lisp
+@end deffn
+
@node Record type definitions
@section Record-type definitions