A function that evaluates functions.