On 1/25/08, Brad Beyenhof <[EMAIL PROTECTED]> wrote: > > On Jan 25, 2008 3:53 PM, Mark Schoonover <[EMAIL PROTECTED]> > wrote: > > On Jan 23, 2008 11:28 PM, Brad Beyenhof <[EMAIL PROTECTED]> wrote: > > > Ex. 1.6 > > > > > > 'new-if' uses cond to spawn a sub-environment (or "child process," > > > maybe?) for each recursion of sqrt-iter, and it never comes back out > > > to deliver a value to the function. On the other hand, the special > > > form 'if' stays at the top level of the definition and can return a > > > value to the function. > > > > That's not the way I'm thinking new-if works. The built-in if will eval > > one predicate at a time, where as new-if will try to do both at the > same > > time and get into a loop. > > Aha... that actually makes much more sense (plus, it's more related to > the concepts currently presented in the text). I think you win. :)
Well, I don't know if I won since it took me almost the entire week of thinking about it before I had that aha moment! -- > Brad Beyenhof http://augmentedfourth.com > The history of popular music is littered with great partnerships. > Rodgers had his Hammerstein, Lennon had his McCartney, and Lloyd Webber > had... his photocopier... ~Humphrey Lyttleton > > -- > [email protected] > http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg > -- Mark Schoonover, CMDBA http://www.linkedin.com/in/markschoonover http://marksitblog.blogspot.com [EMAIL PROTECTED] -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
