@ -250,7 +250,7 @@ The capitalization requirement for a wildcard @racket[pat-arg] makes it easy to
(bad-squarer +10i)
(bad-squarer +10i)
]
]
The error is cleared when the argument is capitalized, thus making it a wilcard:
The error is cleared when the argument is capitalized, thus making it a wildcard:
@examples[#:eval my-eval
@examples[#:eval my-eval
(define-macro (good-squarer ANY-NUMBER)
(define-macro (good-squarer ANY-NUMBER)
@ -258,21 +258,18 @@ The error is cleared when the argument is capitalized, thus making it a wilcard:
(good-squarer +10i)
(good-squarer +10i)
]
]
@;{You can use the special identifier @racket[caller-stx] —available only within the body of @racket[define-macro] —to access the original input argument to the macro.}
You can use the special variable @racket[caller-stx] —available only within the body of @racket[define-macro] —to access the original input argument to the macro.
@;{todo: fix this example. complains that caller-stx is unbound}
@;{todo: fix this example. complains that caller-stx is unbound}