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 1f6f667 + b5e23e3 commit bdb6361Copy full SHA for bdb6361
docs/HigherKinded-v2.md
@@ -173,7 +173,7 @@ The `I` suffix of the `Lambda` trait indicates that it has one invariant type pa
173
Other suffixes are `P` for covariant type parameters, and `N` for contravariant type parameters. Lambda traits can
174
have more than one type parameter. For instance, here is a trait with contravariant and covariant type parameters:
175
176
- trait Lambda$NP[type -$hkArg$0, +$hkArg1] { type +Apply } extends Lambda$IP with Lambda$PI
+ trait Lambda$NP[type -$hkArg$0, +$hkArg1] { type +Apply } extends Lambda$IP with Lambda$NI
177
178
Aside: the `+` prefix in front of `Apply` indicates that `Apply` is a covariant type field. Dotty
179
admits variance annotations on type members.
0 commit comments