It's not the same thing. In the mapping case it's a question of precedence of values for the same index, whereas in the array case it's a question of precedence of the order between the values. The right hand operand should have higher precedence of values since it's the "change" operand (following my reasoning in 9418001). When it comes to precedence of order it's instead the left ("main") operand, for (among other things) the reason I've mentioned in 9418001.
/ Martin Stjernholm, Roxen IS
Previous text:
2002-12-03 20:51: Subject: `| and order on arrays
Also, this same consistency is what holds for mappings. (Just imagine foo and bar to be mappings in the commented, and the result becomes the same.)
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)