tail recursion
tail recursion
(programming)f n = if n < 2 then 1 else f (f (n-2) + 1)
In this example both calls to f are recursive but only theouter one is tail recursive.
Tail recursion is a useful property because it enables tail recursion optimisation.
If you aren't sick of them already, see recursion and tail recursion.