[xquery-talk] xquery 3.1 wishlist
Michael Kay
mike at saxonica.com
Mon Jul 6 01:09:23 PDT 2015
Adding capability to XQuery 3.1 at this stage will require a more convincing justification than “I felt the need for this in some edge cases”.
Are there other functional languages that offer such a feature?
Michael Kay
Saxonica
> On 6 Jul 2015, at 08:30, Christophe Geiser <christophe.geiser at e-smile.org> wrote:
>
> Dear all,
> Thanks Wouter for initiating this discussion.
> I’d like to add another feature request to the current implementation of the language : the ability to retrieve the current function being executed. I could not find a work-around for implementing this, and - now with functions being first-class citizens of the language - felt the need for this capability in some edge cases.
> Something like :
>
> declare function local:test($arg) {
> let $function := function-item() (: would return local:test#1 as function item :)
> return ()
> };
> Thanks and best regards,
> Christophe Geiser
>
> Hello,
> I’ve been working with the recent xquery 3.1 implementation in the develop branch eXist-db. I encountered some cases that were quite hard to work around:
> the lack of array:index-of() - the lack of the iterator index in arrayfor-each and related higher-order functions
> Perhaps someone of the workgroup is available to discuss those cases.
> Thanks, Wouter
> W.S. Hager Lagua Web Solutions http://lagua.nl <http://lagua.nl/>
> --
> <https://www.e-smile.org/>
> <https://plus.google.com/+E-smileOrg> <https://twitter.com/esmileSolution> <https://github.com/e-smile>
> Christophe Geiser
> Founder of e-smile
>
> e-smile.org <http://e-smile.org/>
> Never give up on a dream just because of the time it will take to accomplish it. The time will pass anyway.
>
> _______________________________________________
> talk at x-query.com
> http://x-query.com/mailman/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://x-query.com/pipermail/talk/attachments/20150706/d7aed8b7/attachment.html>
More information about the talk
mailing list