A solution to Exercise 2.7:
(define (upper-bound interval) (cdr interval))
(define (lower-bound interval) (car interval))
Posted by Ken Dyck in Programming
About
![]()
Links
Search
Categories
Archives
Subscribe
Ads
A solution to Exercise 2.7:
(define (upper-bound interval) (cdr interval))
(define (lower-bound interval) (car interval))
Posted by Ken Dyck in Programming
is that the right definition for upper-bound? e.g. would it work for this interval?
(a (b c))