Skip to content

Commit a59dbef

Browse files
committed
Fix typos in exhaustiveness specification.
1 parent c9d9ee5 commit a59dbef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

accepted/3.0/patterns/exhaustiveness.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ enough for things like the set of values matched by the pattern `DateTime(day:
284284
have certain values.
285285

286286
A pattern is the natural way to describe a set of values of some type filtered
287-
by some arbitrary set of predicates on their propertiesl, and we will use
288-
somethig similar here. However, the patterns proposal defines a rich set of
287+
by some arbitrary set of predicates on their properties, and we will use
288+
something similar here. However, the patterns proposal defines a rich set of
289289
patterns to make the feature user friendly and expressive. It would require
290290
unnecessary complexity in the exhaustiveness algorithm to handle every single
291291
kind of pattern.
@@ -652,7 +652,7 @@ Space intersection is defined as:
652652
653653
### Restriction subsetting
654654
655-
Similar to how a pair of type may have a subtype relation between them, one
655+
Similar to how a pair of types may have a subtype relation between them, one
656656
restriction may be a *subset* of another. If one restriction is a subset of
657657
another, then every value matched by the former will also be matched by the
658658
latter.
@@ -803,8 +803,8 @@ over the matched value type:
803803
804804
1. For each case (including cases with guards) except the first:
805805
806-
1. Collect all of the of the patterns from the cases preceding `case`
807-
(except ones with guards), and lift them to space unions as `preceding`.
806+
1. Collect all of the patterns from the cases preceding `case` (except ones
807+
with guards), and lift them to space unions as `preceding`.
808808
809809
2. Lift the pattern for the current case to `case`.
810810

0 commit comments

Comments
 (0)