We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have tried the following sample code
let $f := function($nums as xs:integer*, $f1 as function(*)) as xs:integer { if (empty($nums)) then 0 else head($nums) + $f1(tail($nums), $f1) }, $F := $f(?, $f) return $F(1 to 200)
on http://try.zorba.io/queries/xquery and get the compilation error
[XPTY0004] dynamic function invoked with incorrect number of arguments
Line 5, column 46.
When I try the same code with Saxon 9.5 or BaseX 7.9 it compiles and runs fine.
The text was updated successfully, but these errors were encountered:
@wcandillon Fixed in PR #106 . William, can you review (but not merge)? Thanks
Sorry, something went wrong.
fcavalieri
Successfully merging a pull request may close this issue.
I have tried the following sample code
on http://try.zorba.io/queries/xquery and get the compilation error
[XPTY0004] dynamic function invoked with incorrect number of arguments
Line 5, column 46.
When I try the same code with Saxon 9.5 or BaseX 7.9 it compiles and runs fine.
The text was updated successfully, but these errors were encountered: