[plt-scheme] solution for exercise 11.2.4

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Mon Jun 9 18:14:49 EDT 2008

A data definition is a "series of instructions" for how to construct  
examples for the defined set of data.

Can you follow those instructions and make me at least five data  
examples with four involving cons?

Don't worry about counting cons-es yet.



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

>
> ok it is the moment where I find problems.
> How it is conctructed a list of list??
> Is it something like (cons (cons asymbol empty) empty)??
> How can I count the "cons"???
> I can say: if the first element of a list is still a list sum  
> 1...but how?
>
>
> _________________________________________________________________
> Sai che con Messenger guardi la TV con i tuoi amici?
> http://www.messenger.it/ 
> messengertv.html_________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.