[plt-scheme] HtDP newbie question, 12.4.2

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Fri Mar 28 10:54:02 EDT 2008

How about (cons 'A (list 'X 'T)) = (list 'A 'X 'T)




On Mar 28, 2008, at 10:53 AM, Cooke Kelsey wrote:

> (append (list 'A) (list 'X 'T)) = (list 'A 'X 'T)
>
> Matthias Felleisen <matthias at ccs.neu.edu> wrote:
>
> Here is a definition of 'adding in the missing element':
>
> * If a list X misses the symbol 'A (at the front), how do you get a  
> list that has the 'A and all of X?
>
> * X = (list 'X 'T) and 'A --> I want (list 'A 'X 'T). How do I do  
> that?
>
> -- Matthias
>
>
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  
> Try it now.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080328/a3a08ea5/attachment.html>

Posted on the users mailing list.