7) o Book data structures: strings (balanced strings), non-negative integers, arithmetic expressions o Class data structures: lists (today), trees You should definitely read and understand what is in the book (and ask questions on slack about anything), but we will (mostly) do different examples in class.
objects of a data type by: 1. Showing the property holds for all base objects. 2. Showing that all the ways of constructing new objects, preserve the property
is a Quadruple A Sextuple is a Pair where the second part is a Quintuple A Septuple is a pair where the second part is a Sextuple An Octuple is group of octupi A ? is a Pair where the second part is a …? 12
objects. A set is defined by its membership operation: ∈ is true if is in the set . Class 7: Set Today: List Definition. A list is an ordered sequence of objects. A list is either the empty list (), or the result of prepend(, ) for some object and list .
objects. A set is defined by its membership operation: ∈ is true if is in the set . Definition. A list is an ordered sequence of objects. A list is defined by Class 7: Set Today: List
objects. A set is Class 7: Set Today: List Definition. A list is an ordered sequence of objects. A list is either the empty list (), or the result of prepend(, ) for some object and list .