Tail-recursive functions are recursive

A tail-recursive function that uses an accumulator can also be expressed as an instance of a fold_right function.

[...]

Version

Created [12 Apr 2024]

Table Of Contents

Previous topic

The functional abstraction and instantiation of tail-recursive functions that use an accumulator

Next topic

Primitive recursion