[plt-scheme] solution for exercise 11.2.4

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Mon Jun 9 20:38:29 EDT 2008

Let me rephrase John's criticism: you jumped the gun and shot yourself.

Just answer the questions that I asked. Not more, not less.


On Jun 9, 2008, at 6:53 PM, carlo ambrogio wrote:

>
> the template could be:
>
> (define (depth a-dl)
>   (cond
>     [(symbol? a-dl) ...]
>     [else ... (first a-dl) ... (depth (rest a-dl)) ...]))
>
> how many clauses does the data def have? (how many clauses must the
> function def have?)
>
> I think 2 (the data can be a symbol or a list)
>
>
>
>
> _________________________________________________________________
> Crea il tuo blog su Spaces, condividi le tue esperienze con il mondo!
> http://home.services.spaces.live.com/ 
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.