Re: [basex-talk] Stack overflow with random-number-generator

2020-05-11 Thread Martin Honnen
On 11.05.2020 23:33, Joe Wicentowski wrote: I found a version that works.  In the original version I must not have been using tail recursion correctly.  Here is the version that works. Can anyone explain why the first version doesn't properly trigger tail recursion? No, but I think you can

Re: [basex-talk] Stack overflow with random-number-generator

2020-05-11 Thread Joe Wicentowski
I found a version that works. In the original version I must not have been using tail recursion correctly. Here is the version that works. Can anyone explain why the first version doesn't properly trigger tail recursion? ``` xquery version "3.1"; declare function