Skip to content

Commit 57121cf

Browse files
committed
doc(type-lambda): use U instead of H for upper bound
1 parent ff476f7 commit 57121cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/reference/new-types/type-lambdas-spec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ TypeBounds ::= [‘>:’ Type] [‘<:’ Type]
1515
### Type Checking
1616

1717
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.
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.
2020

2121
## Subtyping Rules
2222

0 commit comments

Comments
 (0)