Skip to content

Commit bdb6361

Browse files
committed
Merge pull request #146 from dotty-staging/docs/hk-typo-fix
Fixed typo
2 parents 1f6f667 + b5e23e3 commit bdb6361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/HigherKinded-v2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ The `I` suffix of the `Lambda` trait indicates that it has one invariant type pa
173173
Other suffixes are `P` for covariant type parameters, and `N` for contravariant type parameters. Lambda traits can
174174
have more than one type parameter. For instance, here is a trait with contravariant and covariant type parameters:
175175

176-
trait Lambda$NP[type -$hkArg$0, +$hkArg1] { type +Apply } extends Lambda$IP with Lambda$PI
176+
trait Lambda$NP[type -$hkArg$0, +$hkArg1] { type +Apply } extends Lambda$IP with Lambda$NI
177177

178178
Aside: the `+` prefix in front of `Apply` indicates that `Apply` is a covariant type field. Dotty
179179
admits variance annotations on type members.

0 commit comments

Comments
 (0)