Kotlin has the ability to create infix functions:
infix fun Int.foo(x: Int) = this + x * x 2 foo 3 // 11 Nothing super special like Scala. Just add an infix modifier and you're done. However, all infix functions are at the same precedence and it cannot be modified.