Homework 2.5
Higher-order functions, redux
Change of plan: for the coming week, the homework is a problem set, to be done on paper. Please download the PDF, print it out, and work on it. Homework will be due at the beginning of class on Thursday.
Why am I changing the plan? I’m worried that first two homeworks have gone too fast, and I want to be certain that we’ve all got a good grasp of Haskell in general and higher-order functions in particular.
I think you’ll get the most out of this homework if you spend most of your time in front of a whiteboard. I understand the temptation to use GHCi to constantly check syntax or to crib definitions of many of these functions from the Prelude or elsewhere. But: when you play me, you play yourself. Don’t play yourself.
Please feel free to work with others—just list your collaborators on the front sheet.