In the documentation for define-macro, use syntax-object instead of (syntax result-expr), as that's the way it is documented below
This commit is contained in:
parent
9e8135ee05
commit
229ed0c70d
|
@ -205,7 +205,7 @@ Define a function that behaves differently depending on how many arguments are s
|
|||
(define-macro id (syntax other-id))
|
||||
(define-macro id (lambda (arg-id) result-expr ...+))
|
||||
(define-macro id transformer-id)
|
||||
(define-macro id (syntax result-expr))
|
||||
(define-macro id syntax-object)
|
||||
(define-macro (id pat-arg ...) expr ...+)
|
||||
]]
|
||||
Create a macro using one of the subforms above, which are explained below:
|
||||
|
|
Loading…
Reference in New Issue
Block a user