Skip to content

Fixed typo #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 19, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/HigherKinded-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ The `I` suffix of the `Lambda` trait indicates that it has one invariant type pa
Other suffixes are `P` for covariant type parameters, and `N` for contravariant type parameters. Lambda traits can
have more than one type parameter. For instance, here is a trait with contravariant and covariant type parameters:

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

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