Tell me more ×  The question is simple, but I will elaborate on
the background as well for those interested in the idea:  How to
define a new operator with specified precedence value?
Mathematica was design to facilitate functional programming. I
definitely find it easy to write code continuously: the output
of a function becomes immediately the input of the next
function. One thing I really miss though is a low-precedence
prefix operator that applies to all things following it (up to
e.g. CompoundExpression (;)). Consider the following example:
Log@N@Accumulate@# & /@ Partition[Range@300, 100] // Flatten //
ListPlot  It partitions a dataset to multiple subparts, threads
functions to each subpart, and then plots the joined datasets. I
write such code a lot, as I find it easy that it can be written
from the inside to the outside, from argument to head (right to
left). The problem is that the extension of the above one might
come up with intuitively does not behave like that:
ListPlot@Flatten@ Log@N@Accumul