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

[Bug 29622] [XQ31] Atomization in Postfix Lookup, Unary Lookup

From: <bugzilla@jessica.w3.org>
Date: Tue, 07 Jun 2016 15:56:36 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29622-523-YqaXyc3WtL@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29622

--- Comment #2 from Jonathan Robie <jonathan.robie@gmail.com> ---
I assume you want this for both maps and arrays.  If I understand this
correctly, it would allow sequences of keys in either case:

let $m := map {
  "a" : 1,
  "b" : 2
}
return $m(("a", "b"))
=> (1, 2)


[ 2, 4, 6, 8](1, 3)
=> (2, 6)

The order of keys in the sequence determines the order of the result.

This seems useful.  It's probably not a hard change for implementations, but
it's a significant change in behavior.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 7 June 2016 15:56:38 UTC

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