We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15ea35b commit 88f62e9Copy full SHA for 88f62e9
docs/_docs/reference/new-types/type-lambdas-spec.md
@@ -26,11 +26,11 @@ Assume two type lambdas
26
type TL1 = [X >: L1 <: U1] =>> R1
27
type TL2 = [X >: L2 <: U2] =>> R2
28
```
29
-Then `TL1 <: TL2`, if
+Then `TL2 <: TL1`, if
30
31
- - the type interval `L2..U2` is contained in the type interval `L1..U1` (i.e.
32
-`L1 <: L2` and `U2 <: U1`),
33
- - `R1 <: R2`
+ - the type interval `L1..U1` is contained in the type interval `L2..U2` (i.e.
+`L2 <: L1` and `U1 <: U2`),
+ - `R2 <: R1`
34
35
Here we have relied on [alpha renaming](https://en.wikipedia.org/wiki/Lambda_calculus#%CE%B1-conversion) to match the two bound types `X`.
36
0 commit comments