File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
docs/docs/reference/new-types Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ TypeBounds ::= [‘>:’ Type] [‘<:’ Type]
15
15
### Type Checking
16
16
17
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 is bounded, as in ` [X >: L <: H] =>> F[X] ` it is checked that arguments to the parameters conform to the bounds ` L ` and ` H ` .
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
19
Only the upper bound ` H ` can be F-bounded, i.e. ` X ` can appear in it.
20
20
21
21
A variance annotation on a parameter indicates a subtyping relationship on type instances. For instance, given
You can’t perform that action at this time.
0 commit comments