[plt-scheme] HTDP: 9.5.5

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Sun Sep 14 22:25:59 EDT 2008

On Sep 14, 2008, at 9:01 PM, Grant Rettke wrote:

>>  -- then remind yourself what each subexpression in the remaining  
>> clauses
>> computes
> That is what I *didn't* do.

You can. Interpret the PURPOSE statement properly and you have it.

>>  -- find a "combinator" that uses just those values and produces  
>> the proper
>> result.
> I see that (fun (rest a-list-of-something)) is whatever the value for
> the base condition, and that is how to start figuring out how to
> replace the template with a combinator (?) that takes you where you
> want to go.

NO NEED to unwind anything. See above.

Posted on the users mailing list.