apltail
apltail copied to clipboard
Detect whether a function given to reduction and scan operators is associative
⍵e need this to be able to switch between sequential or parallel versions of the operators.
It probably has to be rather conservative, and only use the parallel version when the function is one of: max,min,+,*, bitwise xor, bitwise and, bitwise or.