[Bug 26889] Extending the arrow operator

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

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
I don't think this is an improvement. 

We've designed the function library so that in nearly all cases the first
argument is in some sense the "primary input", and there's no need for it to be
immediately apparent which arity of a function is being called, because all the
functions with a given name do very similar things to the primary input; we
would expect any well-designed function library to behave in a similar way. So
adding the requirement to include the "?" placeholder in the function call on
the rhs adds noise without doing anything useful.

One drawback of the proposal is that it makes "=>" dependent on higher-order
functions, which is (a) an optional feature, and (b) a feature that many casual
users of XPath may want to steer clear of because they don't understand it.
(Florent had great trouble getting the ideas across to an audience of
experienced XSLT users at the summer school last week...)

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

Received on Tuesday, 23 September 2014 11:45:43 UTC