![]() The previous definition of define-simple-macro would fail (with a very poor error message) if the user made a simple macro like: (define-simple-macro (~or a b) (let ([tmp a]) (if tmp tmp b))) While the define-simple-macro form does allow syntax-parse patterns, this should not be enabled for the initial head pattern, as described in the define-simple-macro documentation. |
||
---|---|---|
.. | ||
debug.scrbl | ||
define.scrbl | ||
ex-exprc.scrbl | ||
ex-kw-args.scrbl | ||
ex-many-kws.scrbl | ||
ex-mods-stxclasses.scrbl | ||
ex-uniform.scrbl | ||
ex-varied.scrbl | ||
examples.scrbl | ||
experimental.scrbl | ||
info.rkt | ||
intro.scrbl | ||
lib.scrbl | ||
litconv.scrbl | ||
parse-common.rkt | ||
parse-dummy-bindings.rkt | ||
parsing.scrbl | ||
patterns.scrbl | ||
state.scrbl | ||
stxclasses.scrbl |