@@ -284,8 +284,8 @@ enough for things like the set of values matched by the pattern `DateTime(day:
284
284
have certain values.
285
285
286
286
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
289
289
patterns to make the feature user friendly and expressive. It would require
290
290
unnecessary complexity in the exhaustiveness algorithm to handle every single
291
291
kind of pattern.
@@ -652,7 +652,7 @@ Space intersection is defined as:
652
652
653
653
### Restriction subsetting
654
654
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
656
656
restriction may be a *subset* of another. If one restriction is a subset of
657
657
another, then every value matched by the former will also be matched by the
658
658
latter.
@@ -803,8 +803,8 @@ over the matched value type:
803
803
804
804
1. For each case (including cases with guards) except the first:
805
805
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`.
808
808
809
809
2. Lift the pattern for the current case to `case`.
810
810
0 commit comments