On Thu, Aug 18, 2022 at 03:31:09PM +0200, Martin Honnen scripsit:
…and (still undocumented) XQuery 4 preview features.
[snip]
[xquery version "4.0";] definitely looks the way to go and is pretty interesting: https://twitter.com/XSLT_knowmad/status/1560256016348057602
The optimized query -- it winds up static! -- for your example is impressive, too.
https://qt4cg.org/branch/master/xquery-40/xpath-40-diff.html#id-arrow-operat...
It's great to see "arrow expressions" getting something easily findable in the documentation.
"Fat arrow" -- even "broad arrow" -- and "thin arrow" strike me as not being optimal choices of names.
Perhaps "parameter substitution arrow" and "function iteration arrow"? "substitution arrow" and "iteration arrow" for short?