3.3.1. Mutable List Structure
Exercise 3.20

Draw environment diagrams

Draw environment diagrams to illustrate the evaluation of the sequence of expressions

(define x (cons 1 2))
(define z (cons x x))
(set-car! (cdr z) 17)
(car x)

using the procedural implementation of pairs given above. (Compare exercise 3.11.)

Nobody's finished this exercise yet. You'll be the first!

There are no comments yet.

Authentication required

You must log in to post a comment.