From d152ddd8e16a7cc7d4b61e75b888fca22a7a98bc Mon Sep 17 00:00:00 2001 From: Alexis King Date: Thu, 16 Aug 2018 13:04:26 -0500 Subject: [PATCH] Fix documentation for or patterns in racket/match fixes #2213 --- pkgs/racket-doc/scribblings/reference/match.scrbl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/racket-doc/scribblings/reference/match.scrbl b/pkgs/racket-doc/scribblings/reference/match.scrbl index 81cbede53f..a35fec899d 100644 --- a/pkgs/racket-doc/scribblings/reference/match.scrbl +++ b/pkgs/racket-doc/scribblings/reference/match.scrbl @@ -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