CS 136 Tutorials - Spring 2007

CS 136 Home » Tutorials » Tutorial 2: Service Managers and Destructive Methods »

Solution for first semantics example

The part of the code marked in green is the part which is about to be expanded, and the part marked in red is the part which was just expanded.

Previous First  
(define-struct node (ssn name left right))
(define unique1* (make-node 6 'Tingting false false))
(define node1 unique1*)
(define unique2* (make-node 1 'James false node1))
(define node2 unique2*)

Last modified on Wednesday, 09 January 2019, at 14:31 hours.