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
Currently, with tail-call-recursion enabled, a function will check if a call in a tail position is invoking itself. This relies on functions having a self-reference, which is provided by a closure generated around all functions with a name of "", to which the invocation can do an identity test.
Recursion in this fashion relies on the function having a name as well.
Add a form named recur which will explicitly act to restart the function.
Recur should raise a compile-time exception if used in a non-tail-call position.
The text was updated successfully, but these errors were encountered:
Currently, with tail-call-recursion enabled, a function will check if a call in a tail position is invoking itself. This relies on functions having a self-reference, which is provided by a closure generated around all functions with a name of "", to which the invocation can do an identity test.
Recursion in this fashion relies on the function having a name as well.
Add a form named recur which will explicitly act to restart the function.
Recur should raise a compile-time exception if used in a non-tail-call position.
The text was updated successfully, but these errors were encountered: