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.
2 parents af94cfc + 0d2f14a commit cc64c26Copy full SHA for cc64c26
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