Problem with recursion? (was [plt-scheme] Re: Novice, needs help writing function )

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Sun Jan 6 15:44:19 EST 2008

On Jan 6, 2008, at 1:46 PM, Prabhakar Ragde wrote:

>
> I would suggest the opposite -- that HtDP encourages one to develop  
> in generality, as opposed to just about every other approach, which  
> presents a bunch of examples and then leaves students to form their  
> own (possibly

wrong: usually not possibly

> imperfect) generalizations.

You're both correct. Think about it!

> I find it amusing that section 9 of HtDP tiptoes into both self- 
> referential data definitions and recursive functions, whereas  
> section 8.2 presents a Scheme grammar, naturally self-referential,  
> with absolutely no fanfare or fuss.

I consider it a nice trick -- anticipate w/o 'I told you so.' --  
Matthias




Posted on the users mailing list.