error: covariant type T occurs in contravariant position in type について
このクラスは定義できない:
scala> class B[+T] {
| def f(arg: T): T = arg
| }
<console>:9: error: covariant type T occurs in contravariant position in type T of value arg
def f(arg: T): T = arg