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.
such as
such
1 parent af94cfc commit 0d2f14aCopy full SHA for 0d2f14a
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 `[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 and variance annotations.
18
If a parameter is 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.
20
0 commit comments