23 hours ago
my attempt to do the exercises in sicp.
Saturday, July 5, 2008
sicp exercise 1.4
;
;
; Exercise 1.4. Observe that our model of evaluation allows for combinations whose operators are
; compound expressions. Use this observation to describe the behavior of the following procedure:
;
;
(begin
(define (func a)
( (if (> a 5) + -) a 10 )
)
(display (func 10))
(newline)
(display (func 2))
(newline)
)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment