Folks, I am trying to refresh function...and could not solve a problem...can anyone help..

LetAbe an arbitrary set. For any total function P: AàAand any non-negative integern,iterate(P, n)isdefined as then-th iteration off, in other words, the functioniterate(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 ofiterate?

Whatis the signature ofcurry(iterate)?

Thanks.