W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2014

[Bug 21963] Implicit iteration on dynamic function calls

From: <bugzilla@jessica.w3.org>
Date: Tue, 13 May 2014 14:59:42 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-21963-523-vTUQFmNZsA@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21963

--- Comment #3 from Jonathan Robie <jonathan.robie@gmail.com> ---
I like this.  It's a little tricky to fit into the current structure of the
spec, and I'd like to avoid restructuring this part. My first thought is to do
something along these lines:


3.1.5.1 Evaluating Static and Dynamic Function Calls

2.b. 

<old>
If FC is a dynamic function call: FC's base expression is evaluated with
respect to SC and DC. If this yields a sequence consisting of a single function
with the same arity as the arity of the ArgumentList, let F denote that
function. Otherwise, a type error is raised [err:XPTY0004].
</old>

<new>
If FC is a dynamic function call: FC's base expression is evaluated with
respect to SC and DC. If this yields a sequence consisting of a single function
with the same arity as the arity of the ArgumentList, let F denote that
function. <add>If it yields a sequence of functions with the same arity as the
arity of the ArgumentList, let F denote each of these functions in turn, in the
order of the sequence. Otherwise, a type error is raised [err:XPTY0004].
</new>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 13 May 2014 14:59:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:56 UTC