You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
296 B
10 lines
296 B
|
|
Exercise 2.7: 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.
|
|
|