compose_n

docblock
compose_n(f, n = 2)

Compose the function f with itself n times.