You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working with WAL I implemented a recursive function (in functional programming manner) that handles a long list (i.e. indices returned by WAL's find operation). I quickly reached a maximum recursion depth, which likely stems from the interpreter loop of WAL. Even increasing this number in an imported python script using sys. setrecursionlimit did not help (eventually my program did just crash silently).
Many functional languages employ "tail call optimization" to avoid indefinitely clogging the stack. That would be a wonderful thing for WAL as well.
I understand that this might not be top priority 😅 but anyway leaving it here as a suggestion.
The text was updated successfully, but these errors were encountered:
While working with WAL I implemented a recursive function (in functional programming manner) that handles a long list (i.e. indices returned by WAL's
find
operation). I quickly reached amaximum recursion depth
, which likely stems from the interpreter loop of WAL. Even increasing this number in an imported python script usingsys. setrecursionlimit
did not help (eventually my program did just crash silently).Many functional languages employ "tail call optimization" to avoid indefinitely clogging the stack. That would be a wonderful thing for WAL as well.
I understand that this might not be top priority 😅 but anyway leaving it here as a suggestion.
The text was updated successfully, but these errors were encountered: