Below code works fine
def exec(f: (Int, Int) => Boolean, p1: Int, p2: Int) = f(p1, p2)
val >= = (x1: Int, x2: Int) => x1 >= x2
println(exec(>=, 10, 10))
however the question is, if it's possible to get it working without explicit re-defining operator (synthetic function)?
Update
It's clear that it works absolutely fine like this
println(exec(_ >= _, 10, 10))
The question is whether it's possible to make it working in a form exec(>=, 10, 10)
without defining functional value.