23 hours ago
my attempt to do the exercises in sicp.
Wednesday, July 16, 2008
sicp exercise 2.24
; Exercise 2.24. Suppose we evaluate the expression (list 1 (list 2 (list 3 4))). Give the
; result printed by the interpreter, the corresponding box-and-pointer structure, and the
; interpretation of this as a tree (as in figure 2.6).
(define x (list 1 (list 2 (list 3 4))))
(display x) (newline)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment