Hi there,<br><br>My apologies if this is the wrong place to be asking this, but I&#39;m new to Scheme and am not sure where I can get this question answered. If you know a better place to ask this, please point me in the right direction.<br>
<br>Basically, I&#39;m learning Scheme by implementing it in Ruby while reading SICP. I&#39;ve added tail calls and also an optional lazy (normal-order) evaluation mode, but I can&#39;t get the two to play together. I have a factorial function that runs iteratively in eager mode, but it blows up the stack in lazy mode.<br>
<br>I was wondering whether it&#39;s possible to have tail call optimisation when using normal order. I don&#39;t want to bang my head against the wall trying to make it happen if it can&#39;t be done.<br clear="all"><br>
-- <br>James Coglan<br>