Skip to content

Commit 550a481

Browse files
Update 08-pattern-matching.md
Elided superfluous "a". Corrected "no" to "not".
1 parent cbfcb66 commit 550a481

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/08-pattern-matching.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ type of the pattern. The pattern matches any value $v$ such that
115115

116116
To resolve the syntactic overlap with a variable pattern, a
117117
stable identifier pattern may not be a simple name starting with a lower-case
118-
letter. However, it is possible to enclose a such a variable name in
118+
letter. However, it is possible to enclose such a variable name in
119119
backquotes; then it is treated as a stable identifier pattern.
120120

121121
###### Example
@@ -283,7 +283,7 @@ shorthand for the constructor or extractor pattern $\mathit{op}(p, q_1
283283
A pattern alternative `$p_1$ | $\ldots$ | $p_n$`
284284
consists of a number of alternative patterns $p_i$. All alternative
285285
patterns are type checked with the expected type of the pattern. They
286-
may no bind variables other than wildcards. The alternative pattern
286+
may not bind variables other than wildcards. The alternative pattern
287287
matches a value $v$ if at least one its alternatives matches $v$.
288288

289289
### XML Patterns

0 commit comments

Comments
 (0)