SICP Solutions

Section - 2.1 - Introduction to Data Abstraction

Exercise 2.8

Alyssa initializes lower-bound with the minum possible value lower-bound can get while carrying put the corresponding arithmetic operation. Thus we can extend the same to write sub-interval:

Output: