[Bug 29713] New: Feature request: add rest parameter

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

            Bug ID: 29713
           Summary: Feature request: add rest parameter
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQueryX 3.1
          Assignee: jim.melton@acm.org
          Reporter: wshager@gmail.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Request to add a rest parameter to XQuery, in the style of javascript or
python. In javascript an ellipsis is used to indicate the parameter should take
the remaining parameters as a list and bind them to the prefixed one. Another
option would be to suffix the parameter name with an ellipsis (or other).

E.g. 

function($args ... as array(item()?)

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

Received on Wednesday, 29 June 2016 10:59:58 UTC