I was just reading a text on first-order modal logic and found it very interesting to think of the distinction between rigid and non-rigid designators as a failure of associativity between the modal operator of, for instance $\mathcal{M},\Gamma\Vdash_v \Box F(c)$ and the valuation function. If the valuation function is taken as primary then we get rigid designation, and otherwise we get non-rigid designation.
But this led me to wonder, are there any interesting examples of two distinct operations that associate? I know the identity operation would associate with any other operation, and the "sends to 0" constant operation would associate with multiplication. But these are both fairly uninteresting examples--are there others where you really learn something by noticing that the operations associate? I suppose we could regard the constant multiple rule for derivatives and integrals as such an example, yes?