syntax/parse: update pattern expander docs

This commit is contained in:
Alex Knauth 2015-09-21 20:56:28 -04:00 committed by Ryan Culpepper
parent 2acb10a5da
commit 6b93b18a1a

View File

@ -1059,9 +1059,8 @@ The grammar of @tech{syntax patterns} is extensible through the use of
@deftech{pattern expanders}, which allow the definition of new pattern
forms by rewriting them into existing pattern forms.
@margin-note{A @tech{pattern expander}'s name must begin with a @code{~}
character. Otherwise, @racket[syntax-parse] and other
@racketmodname[syntax/parse] forms will not recognize it.}
@margin-note{As a convention to avoid ambiguity, @tech{pattern expander}
names normally begin with a @code{~} character.}
@defproc[(pattern-expander [proc (-> syntax? syntax?)]) pattern-expander?]{