- From: <bugzilla@jessica.w3.org>
- Date: Tue, 29 Apr 2014 15:41:49 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25502 Bug ID: 25502 Summary: Binary Operators on maps Product: XPath / XQuery / XSLT Version: Working drafts Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: Requirements for Future Versions Assignee: jim.melton@acm.org Reporter: liam@w3.org QA Contact: public-qt-comments@w3.org Copied from mailing list by Liam - https://lists.w3.org/Archives/Member/w3c-xsl-query/2014Apr/0036.html This is an attempt to flesh out an idea from Mohamed (see https://lists.w3.org/Archives/Member/w3c-xsl-query/2014Feb/0065.html). 1. map1 + map2 If a and b are both maps, then a + b is defined as map:new( a, b). The following expressions are equivalent: $m2 := map:new( $m1, { "foo" : "bar" }) $m2 := $m1 + { "foo" : "bar" } 2. map - atomic If a is a map and b is an atomic value, then a - b is defined as map:remove(a, b). The following expressions are equivalent: $m2 := map:remove( $m1, "foo") $m2 := $m1 - "foo" Jonathan -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 29 April 2014 15:41:50 UTC