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 57121cf commit ba8a518Copy full SHA for ba8a518
docs/docs/reference/new-types/type-lambdas-spec.md
@@ -14,7 +14,7 @@ TypeBounds ::= [‘>:’ Type] [‘<:’ Type]
14
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.
+A type lambda such as `[X] =>> F[X]` defines a function from types to types. The parameter(s) may carry bounds.
18
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`.
19
Only the upper bound `U` can be F-bounded, i.e. `X` can appear in it.
20
0 commit comments