This HOF returns a function that takes one argument