Class 16 Objectives
At the end of today's class you should
KNOW:
- That the data definition for a hierarchy requires two
data definitions that refer to each other (mutually recursive data
definitions).
BE ABLE TO:
- Write the data definition for a hierarchy.
- Generate the template for a hierarchy.
- Write functions over hierarchies.
Sample Exam Question:
Write a function update-year which consumes a name, a year, and
a hierarchy for a descendant family tree, and updates the year for the named person in the hierarchy.