Creates a trampoline thunk object.
A "thunk" is a deferred computation — instead of performing a recursive call immediately, it wraps the next step of the computation in a function. This allows recursive processes to be executed iteratively, preventing stack overflows.
The type of the final computation result.
A function that, when executed, returns the next trampoline step.
A TrampolineThunk object containing the deferred computation.
Creates a trampoline thunk object.
A "thunk" is a deferred computation — instead of performing a recursive call immediately, it wraps the next step of the computation in a function. This allows recursive processes to be executed iteratively, preventing stack overflows.