[racket] section 11.5 from htdp

From: Stephen Bloch (sbloch at adelphi.edu)
Date: Sat May 28 21:30:52 EDT 2011

On May 28, 2011, at 3:30 PM, Matthias Felleisen wrote:

> 
> Follow the design recipe. 
> 
> A natural number is one of: 
>  -- 0 
>  -- one more than n for some natural number n

I don't think that's the issue: he's already successfully written a couple of functions using this template.

Problem 11.5.3 says "develop the function exponent ... Eliminate * from this definition too."  The natural-number template is fine for putting together the right number of x's, but how do you multiply the (not necessarily natural) x's together without * ?


Stephen Bloch
sbloch at adelphi.edu


Posted on the users mailing list.