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)
17
using the procedural implementation of pairs given above. (Compare exercise 3.11.)
There are no comments yet.
Authentication required
You must log in to post a comment.
Login