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 ff476f7 commit 57121cfCopy full SHA for 57121cf
docs/docs/reference/new-types/type-lambdas-spec.md
@@ -15,8 +15,8 @@ TypeBounds ::= [‘>:’ Type] [‘<:’ Type]
15
### Type Checking
16
17
A type lambda such as `[X] =>> F[X]` defines a function from types to types. The parameter(s) may carry bounds and variance annotations.
18
-If a parameter is bounded, as in `[X >: L <: H] =>> F[X]` it is checked that arguments to the parameters conform to the bounds `L` and `H`.
19
-Only the upper bound `H` can be F-bounded, i.e. `X` can appear in it.
+If a parameter is bounded, as in `[X >: L <: U] =>> F[X]` it is checked that arguments to the parameters conform to the bounds `L` and `U`.
+Only the upper bound `U` can be F-bounded, i.e. `X` can appear in it.
20
21
## Subtyping Rules
22
0 commit comments