Lesson 2: Scheme Lists and Functions

Outline:

  1. Recap: evaluating Scheme expressions
  2. Lists in Scheme
    • cons cells
    • car and cdr procedures
  3. Defining functions in Scheme
    • lambda special form
  4. Wrap-up

What’s next

Upcoming events/assessments:

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”