What is the purpose of the let bindings in the procedures add-assertion! Andadd-rule! ?

What is the purpose of the let bindings in the procedures add-assertion! Andadd-rule! ? What would be wrong with the following implementation of add-assertion! ?Hint: Recall the definition of the infinite stream:

(define ones(cons-stream 1 ones)).

(define (add-assertion! assertion)

(store-assertion-in-index assertion)

(set! THE-ASSERTIONS

(cons-stream assertion THE-ASSERTIONS))

’ok)

 

Looking for a similar assignment? Get help from our qualified experts!

"Our Prices Start at $9.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!":

Order a Similar Paper Order a Different Paper