In Scala, why can I omit the dot and brakets in T m 0 (instead of T.m(0)) in the following?
T m 0
T.m(0)
scala> object T { def m(i:Int) = 0 =
I believe the operator syntax style works only when you've got an explicit object on the left-hand side. The syntax is intended to let you express "operand operator operand" style operations in a natural way.