recursionLimit -- set the limit on recursion
-
- Usage:
recursionLimit = n
- Inputs:
-
Consequences:
- The recursion depth limit for the interpreter is set to n.
Description
Each time a function is called, the recursion depth is incremented by 1, and each time a function returns, the recursion depth is decremented. This limit on recursion depth is a way to detect infinite loops.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Macaulay2Doc/ov_debugging.m2:341:0.