I’d like to add an operator for exponentiation to Scala.
In maths, exponentiation is expressed by layout rather than by a symbol. We can’t do that.
I propose the symbol \. It suggests the traditional layout. For example 2 \ 3 = 8. You can imagine that if the two arguments were squashed a little, the right argument might slide up a little. It is not used already. It has the right precedence.
Other languages use ^ or **. In Scala, we can’t use ^ because it’s XOR and it has wrong precedence. We can’t use ** because it has wrong precedence.
Somebody already suggests it in https://www.scala-lang.org/old/node/4142.