Extension methods ofTypeApply
The (inferred) type arguments passed to the method
The (inferred) type arguments passed to the method
TheTypeApply may be a partially applied method:
type Textension (x: Int) def f[T](y: T) = ???// represented as// def f(x: Int)[T](y: T) = ???1.f[Int](2)// represented as// f(1)[Int](2)fun is[Int] in theTypeApply off(1)[Int]Thefun part of an (inferred) type application likefun[Args]
Thefun part of an (inferred) type application likefun[Args]
It may be a partially applied method:
type Textension (x: Int) def f[T](y: T) = ???// represented as// def f(x: Int)[T](y: T) = ???1.f[Int](2)// represented as// f(1)[Int](2)fun isf(1) in theTypeApply off(1)[Int]