parent
cf45c623e4
commit
d152ddd8e1
|
@ -306,12 +306,8 @@ In more detail, patterns match as follows:
|
||||||
]}
|
]}
|
||||||
|
|
||||||
@item{@racket[(#,(racketidfont "or") _pat ...)] --- matches if any of
|
@item{@racket[(#,(racketidfont "or") _pat ...)] --- matches if any of
|
||||||
the @racket[_pat]s match. @bold{Beware}: the result expression
|
the @racket[_pat]s match. Each @racket[_pat] must bind the same set
|
||||||
can be duplicated once for each @racket[_pat]! Identifiers in
|
of identifiers.
|
||||||
@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.
|
|
||||||
|
|
||||||
@examples[
|
@examples[
|
||||||
#:eval match-eval
|
#:eval match-eval
|
||||||
|
|
Loading…
Reference in New Issue
Block a user