Lesson 5: Functions That Return Functions
Outline:
- Recap: higher-order functions
mapandfilterfold-leftvs.fold-right
- Functions that return functions
- Lazy lists
- Wrap-up
What’s next
Upcoming events/assessments:
- CS Bits and Bytes tomorrow at 3:30pm in Olin 304/306/308: Welcome New Majors! :D
- Assignment 4 is due tonight
- Assignment 5 is released and due Friday night
- Quiz 1 will be this Friday
What you should do now:
- Read the assigned readings (see below)
- Finish and submit Assignment 4
- Work on Assignment 5
- Re-do previous classwork, homework, exercises, and/or optional extensions to practice for the quiz
Reading assignment (to be completed by the next class):
More on higher-order functions (from today):
Intro to C (for next time):
- References and Values (pages 239–241)
- Why Program in C (Fundamentals section 1, “Why program in C”)