aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-07-19 13:51:22 +0200
committerMartin Odersky <odersky@gmail.com>2014-07-19 13:51:22 +0200
commitb5e23e32b2483992f88342305da03253319fad0a (patch)
tree7e76da6c881e28b6174611279a97fcef4b5bfcac /docs
parent9e1759f34dcfa90f688ef560c90f209dcb9b1374 (diff)
downloaddotty-b5e23e32b2483992f88342305da03253319fad0a.tar.gz
dotty-b5e23e32b2483992f88342305da03253319fad0a.tar.bz2
dotty-b5e23e32b2483992f88342305da03253319fad0a.zip
Fixed typo
Diffstat (limited to 'docs')
-rw-r--r--docs/HigherKinded-v2.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/HigherKinded-v2.md b/docs/HigherKinded-v2.md
index 3cb722e98..e30f4e429 100644
--- a/docs/HigherKinded-v2.md
+++ b/docs/HigherKinded-v2.md
@@ -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).