@@ -213,7 +213,7 @@ more than one type parameter. For instance, here is a trait with contravariant
213213and covariant type parameters:
214214
215215``` scala
216- trait Lambda$NP [type - $hkArg$0 , + $hkArg1 ] { type + Apply } extends Lambda$IP with Lambda$NI
216+ trait Lambda$NP [type - $hkArg$0 , + $hkArg$ 1 ] { type + Apply } extends Lambda$IP with Lambda$NI
217217```
218218
219219Aside: the ` + ` prefix in front of ` Apply ` indicates that ` Apply ` is a covariant
@@ -225,9 +225,9 @@ subtypes of traits which don't. The supertraits of `Lambda$NP` would themselves
225225be written as follows.
226226
227227``` scala
228- trait Lambda$IP [type $hkArg$0 , + $hkArg1 ] { type + Apply } extends Lambda$II
229- trait Lambda$NI [type - $hkArg$0 , $hkArg1 ] { type + Apply } extends Lambda$II
230- trait Lambda$II [type $hkArg$0 , $hkArg1 ] { type + Apply }
228+ trait Lambda$IP [type $hkArg$0 , + $hkArg$ 1 ] { type + Apply } extends Lambda$II
229+ trait Lambda$NI [type - $hkArg$0 , $hkArg$ 1 ] { type + Apply } extends Lambda$II
230+ trait Lambda$II [type $hkArg$0 , $hkArg$ 1 ] { type + Apply }
231231```
232232
233233` Lambda ` traits are special in that they influence how type applications are
@@ -313,7 +313,7 @@ The type parameters of `Rep` are the type parameters of its upper bound, so
313313More generally, a higher-kinded type declaration
314314
315315``` scala
316- type T [v1 X1 >: S1 <: U1 , ..., vn XN >: S1 <: UN ] >: SR <: UR
316+ type T [v1 X1 >: S1 <: U1 , ..., vn XN >: SN <: UN ] >: SR <: UR
317317```
318318
319319is encoded as
0 commit comments