Lesson 2: Scheme Lists and Functions
Outline:
- Recap: evaluating Scheme expressions
- Lists in Scheme
conscellscarandcdrprocedures
- Defining functions in Scheme
lambdaspecial form
- Wrap-up
What’s next
Upcoming events/assessments:
- CS Bits and Bytes tomorrow at 3:30pm in Anderson 329: JP Hourcade on “Human Factors, Computing, & Children”
- Assignment 1 is due tonight
- Assignment 2 is released and due Friday night
What you should do now:
- Read the assigned readings (see below)
- Finish and submit Assignment 1
- Start Assignment 2 and bring questions to class Friday
Reading assignment (to be completed by the next class):
Optional: Scheme practice (from today, also practice for next time):
Required: Scheme style (for next time):
- Scheme style, but skip:
- “Scheme naming conventions” after “Predicates (?)”
- “Quotes”