2.1.4. Extended Exercise: Interval Arithmetic
Exercise 2.7

Upper and lower bounds of interval

Alyssa's program is incomplete because she has not specified the implementation of the interval abstraction. Here is a definition of the interval constructor:

(define (make-interval a b) (cons a b))

Define selectors upper-bound and lower-bound to complete the implementation.



There are no comments yet.

Authentication required

You must log in to post a comment.

Login