[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] [XPath 3.0] Why should I bother specifying the "arity" of a function that I invoke?


Subject: Re: [xsl] [XPath 3.0] Why should I bother specifying the "arity" of a function that I invoke?
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Wed, 31 Oct 2012 23:26:06 +0000

On 31/10/2012 22:09, Costello, Roger L. wrote:
concat#3 is an expression that returns a function item.
So is concat#3 equivalent to this partial function application:

concat(?, ?, ?)

If yes, when is one preferred over the other?



With a zero-arity function partial function application isn't available. In all other cases they're equivalent.


Michael Kay
Saxonica


Current Thread