An exercise in learning a bit about functions