I have a list of functions in a module that I want to call sequentially. At this time, I have to also keep a list of function names, then use fn:function-lookup
to see that it exists, then xdmp:apply
and xdmp:function
to call the function.
Is there any way to get the sequence of functions listed in an imported module?