[Bug 29080] array:members

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29080

--- Comment #8 from Michael Kay <mike@saxonica.com> ---
>I propose therefore to change the semantics of the SimpleMapExpr (!) slightly,
to allow the left-hand to be a singleton array or a singleton map. 

Please no. The LHS can already be a singleton array or a singleton map (indeed,
it can be anything) and it currently offers complete orthogonality and
substitutability. If we start special-casing we end up with the kind of mess
represented by the "/" operator (as well as a backwards incompatibility); and
as soon as there are special cases like this, your ability to reason about
equivalence of expressions, and therefore to do optimization, rapidly
diminishes.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Saturday, 11 June 2016 17:44:27 UTC