Correct first-class function example.