Folks, I am trying to refresh function...and could not solve a problem...can anyone help..
LetA be an arbitrary set. For any total function P: A à A and any non-negative integer n, iterate(P, n) isdefined as the n-th iteration of f, in other words, the function iterate(f,n)is defined as iterate(p, n) = p ; p ; ... ; p (n times of composition).The sign “;” is used for function composition.
Whatis the signature of iterate?
Whatis the signature of curry(iterate)?