Should compile
to
The biggest problem, unfortunately, is that this would have a different precedence than implicit function application f x currently has, since
is currently valid and compiles to
Probably, the best way to do this is to change the precedence of implicit function application to be just tighter than */@ and have implicit function application check if the function is an int/float/numpy dtype and in that case use multiplication rather than function application. However, this would be a breaking change.
Should compile
to
The biggest problem, unfortunately, is that this would have a different precedence than implicit function application
f xcurrently has, sinceis currently valid and compiles to
Probably, the best way to do this is to change the precedence of implicit function application to be just tighter than
*/@and have implicit function application check if the function is anint/float/numpydtype and in that case use multiplication rather than function application. However, this would be a breaking change.