File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/docs/reference/new-types Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Then `TL1 <: TL2`, if
31
31
` L1 <: L2 ` and ` U2 <: U1 ` ),
32
32
- ` R1 <: R2 `
33
33
34
- Here we have relied on alpha renaming to bring match the two bound types ` X ` .
34
+ Here we have relied on alpha renaming to match the two bound types ` X ` .
35
35
36
36
A partially applied type constructor such as ` List ` is assumed to be equivalent to
37
37
its eta expansion. I.e, ` List = [X] =>> List[X] ` . This allows type constructors to be compared with type lambdas.
@@ -46,7 +46,7 @@ is regarded as a shorthand for an unparameterized definition with a type lambda
46
46
``` scala
47
47
type T = [X ] =>> R
48
48
```
49
- If the a type definition carries ` + ` or ` - ` variance annotations,
49
+ If the type definition carries ` + ` or ` - ` variance annotations,
50
50
it is checked that the variance annotations are satisfied by the type lambda.
51
51
For instance,
52
52
``` scala
You can’t perform that action at this time.
0 commit comments