# SICP Solutions

### Section - 2.5 - Systems with Generic Operations

#### Exercise 2.91

Here goes the code of the procedure div-terms:

Here goes the complete code:

Examples/Output:

The last test/example is from the book.

Note that since I used dense-termlist as default for (the-emptylist), the quotient in my result is in dense-form. This can be changed easily by choosing some strategy in which to represent the result. As of now I have not implemented it :)