Learning Path

Each lesson in order, with what you build, the concepts it teaches, and what you have when you finish.

If you have run the First Program, five lessons take you to your first decision rule. You start by reading parentheses, then give values names and choose a decision with a condition. In the last of the five, you write a rule that decides where a book's heading goes.

Run the examples in the Playground. Installation is optional. Knowing what a function call and a true-or-false question are is enough to begin. Lesson numbers match the menu numbers.

From parentheses to a first decision rule

LessonWhat you buildConceptsWhen you finish
05. Reading the ParenthesesA nested width calculationCall order, inner calls first, defineWhy (+ 1 (* 2 (+ 3 4))) is 15
06. Values, Names, and ProceduresA reusable width proceduredefine, let, lambda, argument countOne procedure for any trim width
07. Code Is DataA list that holds a decisionQuote, lists, car and cdrkeep taken out of the list
08. Data, Conditions, and DecisionsA procedure that picks a decisionif, cond, and, or, only #f is falseA decision for each kind of heading
09. First Decision RuleA house style rule for headingsTwo inputs, one decision, >=, inputThree cases and a JSON input rule

More lessons

LessonWhat you buildConceptsWhen you finish
10. Read and Handle ErrorsA rule that handles wrong inputDiagnostic lines, guard, raiseA set decision for wrong input
11. Recursion and Tail CallsA procedure that sums a listNamed let, base case, tail calls10,000 tail calls at constant depth
12. Closures That Remember ValuesTwo pairs of countersClosures, cells, set!Separate counts and a shared count
13. Working with map, filter, fold, and applyThe sum of the squared odd numbersfilter, map, reduce, applyList processing in one expression

Study further with SICP

  1. SICP Study Guide runs a Scheme exercise file with the Lispex SICP profile on your computer and points you to the course at sicp.io.

Where to go next