Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

SICP

Name: Anonymous 2010-07-17 14:31

I'm having trouble visualizing the processed produced by the examples provided in exercise 1.9.

In case you've forgotten or are not familiar I've included the problem: http://pastebin.com/7PYmxrSS

Whenever I expand these recursive procedures I always end up getting an iterative process, so I don't believe I'm doing it correctly.
Any tips or tricks to help would be greatly appreciated.

Name: Anonymous 2010-07-17 14:54

You are evaluating too much, almost certainly. For the purposes of this exercise, evaluate procedure arguments until there are no recursive calls. If you built up any additional procedure calls, then evaluate those.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List