Hi,<br> I have a doubt in section Sec-3.5.2 of SICP. There is code to<br> generate sequence of integers using stream-processing.<br><br>(define (integers-starting-from n)<br> (cons-stream n (integers-starting-from (+ n 1))))<br>
<br>(define integers (integers-starting-from 1))<br><br>But if I run the above code in Dr Scheme with language set as "Pretty Big"<br>it runs into infinite loop.<br>Is is due to applicative order evaluation method?<br>
Can somebody please explain why it is going in infinite loop?<br><br>Thanks in advance<br clear="all"><br>-- <br>Thanks and Regards<br>Vinay Sachdev<br>