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 7234fbd + f4de634 commit 2457371Copy full SHA for 2457371
docs/docs/reference/new-types/type-lambdas-spec.md
@@ -89,7 +89,7 @@ is treated as a shorthand for
89
```
90
Abstract types and opaque type aliases remember the variances they were created with. So the type
91
```scala
92
-def F2[-A, +B]
+type F2[-A, +B]
93
94
is known to be contravariant in `A` and covariant in `B` and can be instantiated only
95
with types that satisfy these constraints. Likewise
0 commit comments