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

[Bug 26585] Proposal: fn:apply

From: <bugzilla@jessica.w3.org>
Date: Sat, 29 Nov 2014 02:27:53 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-26585-523-b9i1wzFtXt@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26585

C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cmsmcq@blackmesatech.com

--- Comment #10 from C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com> ---
On the joint call of 25 November I took an action to try to work out a simple
use case for the fn:apply() function requested by the OP, as sketched by
Michael Kay in [1] and as commented on by John Snelson in [2].

[1] https://lists.w3.org/Archives/Member/w3c-xsl-query/2014Nov/0019.html
[2] https://lists.w3.org/Archives/Member/w3c-xsl-query/2014Nov/0026.html

I have posted the results separately to the public QT comments list [3], to
avoid overburdening a Bugzilla comment.

[3] http://lists.w3.org/Archives/Public/public-qt-comments/2014Nov/0115.html

In that mail, I provide examples of the use of fn:apply() as sketched in [1]
for currying functions, for composing functions, and for use in meta-circular
interpreters.

The bottom line is that while I agree with Michael Kay and John Snelson that
variable-arity functions would be handy, and would make fn:apply() more useful
and convenient, I believe that it's useful enough to be included in the spec
even without variable-arity functions.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Saturday, 29 November 2014 02:27:55 UTC

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