Solution to SICP Exercise 2.7

Structure and Interpretation of Computer Programs

A solution to Exercise 2.7:

(define (upper-bound interval) (cdr interval))
(define (lower-bound interval) (car interval))

Advertisements