fn:apply will be in XQuery 3.1
Just in: Michael Kay gave fn:apply it's blessing and it will be in XQuery 3.1. Great news. Thanks to the WG and all who participated.
I don't want to sound too pushy, but ... eh ... when can we have it ;-))
See: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26585
--Marc
Quoted text · Marc van Grootel · 1 line
>
I don't want to sound too pushy, but ... eh ... when can we have it ;-))
Hehe, I was waiting for this… Let's see when the spec gets available! Christian
Quoted text · Marc van Grootel · 10 lines
On Wed, Dec 3, 2014 at 12:49 AM, Marc van Grootel < marc.van.grootel at gmail.com> wrote: > Just in: Michael Kay gave fn:apply it's blessing and it will be in XQuery > 3.1. Great news. > Thanks to the WG and all who participated. > > See: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26585 > > --Marc >
Hi,
To be a bit more precise, it has been accepted to add fn:apply() to XQuery 3.1, but it has not been defined yet. A lot of things can still happen since then ;-)
Thank you for your bug entry. Keep sending the good stuff, it's much appreciated!
Regards,
Quoted text · Marc van Grootel · 9 lines
On 3 December 2014 at 00:49, Marc van Grootel wrote: > Just in: Michael Kay gave fn:apply it's blessing and it will be in XQuery > 3.1. Great news. > Thanks to the WG and all who participated. > I don't want to sound too pushy, but ... eh ... when can we have it ;-)) > > See: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26585 > > --Marc
Hi Marc,
You are welcome to check out the latest snapshot [1,2,3].
Have fun, Christian
[2] http://files.basex.org/releases/latest [2] http://docs.basex.org/wiki/XQuery_3.1#fn:apply [3] http://www.w3.org/TR/xpath-functions-31/#func-apply
Quoted text · Marc van Grootel · 10 lines
On Wed, Dec 3, 2014 at 12:49 AM, Marc van Grootel <marc.van.grootel at gmail.com> wrote: > Just in: Michael Kay gave fn:apply it's blessing and it will be in XQuery > 3.1. Great news. > Thanks to the WG and all who participated. > I don't want to sound too pushy, but ... eh ... when can we have it ;-)) > > See: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26585 > > --Marc
Hi guys,
First reaction: great! Second reaction: why an array? Why not a sequence? I'm no array-fan, never seem to need them.
But I won't spoil the fun, I'll have a go with it.
Rob
-----Oorspronkelijk bericht-----
Quoted text · basex-talk-bounces at mailman.uni-konstanz.de · 25 lines
Van: basex-talk-bounces at mailman.uni-konstanz.de [mailto:basex-talk-bounces at mailman.uni-konstanz.de] Namens Christian Grün Verzonden: vrijdag 19 december 2014 1:55 Aan: Marc van Grootel CC: BaseX Onderwerp: Re: [basex-talk] fn:apply will be in XQuery 3.1 Hi Marc, You are welcome to check out the latest snapshot [1,2,3]. Have fun, Christian [2] http://files.basex.org/releases/latest [2] http://docs.basex.org/wiki/XQuery_3.1#fn:apply [3] http://www.w3.org/TR/xpath-functions-31/#func-apply On Wed, Dec 3, 2014 at 12:49 AM, Marc van Grootel <marc.van.grootel at gmail.com> wrote: > Just in: Michael Kay gave fn:apply it's blessing and it will be in > XQuery 3.1. Great news. > Thanks to the WG and all who participated. > I don't want to sound too pushy, but ... eh ... when can we have it > ;-)) > > See: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26585 > > --Marc --- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. http://www.avast.com
Hi,
Don't answer that one, I get it.
Rob
-----Oorspronkelijk bericht-----
Quoted text · basex-talk-bounces at mailman.uni-konstanz.de · 39 lines
Van: basex-talk-bounces at mailman.uni-konstanz.de [mailto:basex-talk-bounces at mailman.uni-konstanz.de] Namens Rob Stapper Verzonden: vrijdag 19 december 2014 8:05 Aan: 'Christian Grün'; 'Marc van Grootel' CC: 'BaseX' Onderwerp: Re: [basex-talk] fn:apply will be in XQuery 3.1 Hi guys, First reaction: great! Second reaction: why an array? Why not a sequence? I'm no array-fan, never seem to need them. But I won't spoil the fun, I'll have a go with it. Rob -----Oorspronkelijk bericht----- Van: basex-talk-bounces at mailman.uni-konstanz.de [mailto:basex-talk-bounces at mailman.uni-konstanz.de] Namens Christian Grün Verzonden: vrijdag 19 december 2014 1:55 Aan: Marc van Grootel CC: BaseX Onderwerp: Re: [basex-talk] fn:apply will be in XQuery 3.1 Hi Marc, You are welcome to check out the latest snapshot [1,2,3]. Have fun, Christian [2] http://files.basex.org/releases/latest [2] http://docs.basex.org/wiki/XQuery_3.1#fn:apply [3] http://www.w3.org/TR/xpath-functions-31/#func-apply On Wed, Dec 3, 2014 at 12:49 AM, Marc van Grootel <marc.van.grootel at gmail.com> wrote: > Just in: Michael Kay gave fn:apply it's blessing and it will be in > XQuery 3.1. Great news. > Thanks to the WG and all who participated. > I don't want to sound too pushy, but ... eh ... when can we have it > ;-)) > > See: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26585 > > --Marc --- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. http://www.avast.com --- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. http://www.avast.com
Quoted text · Rob Stapper · 8 lines
On Fri, 19 Dec 2014 08:05:11 +0100 "Rob Stapper" <r.stapper at lijbrandt.nl> wrote: > Hi guys, > > First reaction: great! > Second reaction: why an array? Why not a sequence? I'm no array-fan, never seem to need them. > > But I won't spoil the fun, I'll have a go with it.
You can't include an empty sequence in a sequence. As a result, fn:apply doesnt work reliably if you use sequences -- you can get some really unexpected effects, e.g. if a function call returns ().
fn:apply(myfunc#6, (a(), b(), c(), d(), e(), f()))
would not be type-safe: if c() returned (), you'd pass only 5 arguments to myfunc().
So, an array is used instead.
Liam
Nnnnnnnnice, just in time for Xmas break. Thanks. --Marc
Quoted text · Christian Grün · 24 lines
On Fri, Dec 19, 2014 at 1:54 AM, Christian Grün <christian.gruen at gmail.com> wrote: > Hi Marc, > > You are welcome to check out the latest snapshot [1,2,3]. > > Have fun, > Christian > > [2] http://files.basex.org/releases/latest > [2] http://docs.basex.org/wiki/XQuery_3.1#fn:apply > [3] http://www.w3.org/TR/xpath-functions-31/#func-apply > > > On Wed, Dec 3, 2014 at 12:49 AM, Marc van Grootel > <marc.van.grootel at gmail.com> wrote: >> Just in: Michael Kay gave fn:apply it's blessing and it will be in XQuery >> 3.1. Great news. >> Thanks to the WG and all who participated. >> I don't want to sound too pushy, but ... eh ... when can we have it ;-)) >> >> See: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26585 >> >> --Marc
Written for BaseX 7.9. BaseX may have changed since: please check the current documentation.