W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2016

[Bug 29080] array:members

From: <bugzilla@jessica.w3.org>
Date: Sat, 11 Jun 2016 17:44:24 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29080-523-u6exUCxxma@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:00 UTC