Prefix Sums and Their Applications states that
The all-prefix-sums operation takes a binary associative operator ⊕, and an ordered set of n elements...
Why is associativity a required property of the prefix sum operation? If a prefix sum is only ever calculated by scanning the set from left to right, why is associativity needed?