[racket] section 11.5 from htdp

From: Krzysztof Adamczyk (mr.k.adamczyk at gmail.com)
Date: Sun May 29 05:00:09 EDT 2011

I think I'm beginning to see the picture and I have to work on it
more. Data definitions and design recipes. I finished all the
exercises from earlier 10 sections without them, but now I see how
helpful they are. While being blocked on 11.5.3 I started working on
the next one, about deep-lists, and used the design recipe approach
seriously. It made the dl concept so easy! Thank you all!

On 29 May 2011 03:30, Stephen Bloch <sbloch at adelphi.edu> wrote:
>
> 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.