When to use parenthesis in Scala infix notation
This is what I put together for myself after reading the spec: Any method which takes a single parameter can be used as an infix operator: a.m(b) can be written a m b. Any method which does not require a parameter can be used as a postfix operator: a.m can be written a m. For … Read more