Fix documentation for or patterns in racket/match

fixes #2213
This commit is contained in:
Alexis King 2018-08-16 13:04:26 -05:00
parent cf45c623e4
commit d152ddd8e1

View File

@ -306,12 +306,8 @@ In more detail, patterns match as follows:
]}
@item{@racket[(#,(racketidfont "or") _pat ...)] --- matches if any of
the @racket[_pat]s match. @bold{Beware}: the result expression
can be duplicated once for each @racket[_pat]! Identifiers in
@racket[_pat] are bound only in the corresponding copy of the
result expression; in a module context, if the result
expression refers to a binding, then all @racket[_pat]s
must include the binding.
the @racket[_pat]s match. Each @racket[_pat] must bind the same set
of identifiers.
@examples[
#:eval match-eval