r7rs-small-texinfo

Unnamed repository; edit this file 'description' to name the repository.
git clone https://kaka.farm/~git/r7rs-small-texinfo
Log | Files | Refs | README

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:
Mdoc/r7rs-small/program-structure.texinfo | 6+++---
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