From 229ed0c70dcd5ad237e452cb339d7bce3f6d4228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Mon, 3 Oct 2016 23:14:23 +0200 Subject: [PATCH] In the documentation for define-macro, use syntax-object instead of (syntax result-expr), as that's the way it is documented below --- beautiful-racket-lib/br/scribblings/br.scrbl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beautiful-racket-lib/br/scribblings/br.scrbl b/beautiful-racket-lib/br/scribblings/br.scrbl index 6e424e4..aa2da45 100644 --- a/beautiful-racket-lib/br/scribblings/br.scrbl +++ b/beautiful-racket-lib/br/scribblings/br.scrbl @@ -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: