Skip to content

Commit b257579

Browse files
Merge pull request #5934 from gnp/patch-1
Remove shift from 'X' and 'Y' to 'S' and 'T' as names for type parame…
2 parents 8f2fa50 + ede0f4c commit b257579

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ a type definition.
1010

1111
For instance, the type above defines a binary type constructor, with a
1212
covariant parameter `X` and a non-variant parameter `Y`. The
13-
constructor maps arguments `S` and `T` to `Map[T, S]`. Type parameters
13+
constructor maps arguments `X` and `Y` to `Map[Y, X]`. Type parameters
1414
of type lambdas can have variances and bounds. A parameterized type
1515
definition or declaration such as
1616

@@ -21,4 +21,4 @@ right-hand side:
2121

2222
type T = [X] => (X, X)
2323

24-
[More details](./type-lambdas-spec.html)
24+
[More details](./type-lambdas-spec.html)

0 commit comments

Comments
 (0)