How would you write functions of multiple arguments as infix? Scala can get close to
myListOfInts foldLeft 0 +
How do you resolve ambiguity when functions take optional arguments / are overloaded? Or would you not allow that?
myListOfInts foldLeft (0, +)
myListOfInts foldLeft 0 : +
myListOfInts foldLeft (zero: 0, op: +)
How would you write functions of multiple arguments as infix? Scala can get close to
which is... honestly not much more readable.How do you resolve ambiguity when functions take optional arguments / are overloaded? Or would you not allow that?