On Jan 25, 2008 8:42 PM, Mark Schoonover <[EMAIL PROTECTED]> wrote: > 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!
Speaking of "taking all week," how should the schedule be going? If we're sticking to one lecture per week, MIT-OCW says we should be having L3 next Monday, with the 1.1 exercises, Problem Set 1, and Project 0 all due then (not to mention reading 1.2 in the text). I haven't even read the L2 notes yet, though I should be able to get through them tomorrow. As for Problem Set 1, I don't even know where to find that. How is everybody doing with all this? -- 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
