Ex 1.41, 1.42, 1.43
Rational arithmetic
Ex 2.1
Alternative representations
Ex. 2.4
Box and Pointer representations -- hierarchical structures (cons (cons 1 2) (cons 3 4))
Representing sequences. nil, list. car and cdr as list operations. cons as a list operation. list-ref, length. append.
Ex. 2.17, 2.18, 2.19, 2.20.
Hierarchical lists. ((1 2) 3 4). Tree structure.
Sequences as interfaces. Higher order functions: map, filter, accumulate.
Consider two problems:
Ex 2.21, 2.28, 2.33, 2.34