No idea how to solve SICP exercise 1.11
You need to capture the state in some accumulators and update the state at each iteration. If you have experience in an imperative language, imagine writing a while loop and tracking information in variables during each iteration of the loop. What variables would you need? How would you update them? That’s exactly what you have … Read more