Primitive iteration and unary functions