From: The Joelman
Subject: Newbie - construct a nested list?
Date: 
Message-ID: <Pine.SGI.3.91.950924002836.7528A-100000@umbc8.umbc.edu>
I'm a serious LISP newbie.  I'm trying to declare a nested list to test a 
function I wrote, but it can't declare it correctly.

Here's what I want:

L = (((A (B C)) C))

I tried it with (setq L '(((A(B C))C)) )
but it is counting this whole thing as the one element of L.

Can anyone help me, I think I must be missing something very simple!

Thanks!


Alive and well and Power Mac native,
-Joel
   _____________________________________________________________________
   | University of Maryland,   |  UMBC Macintosh User Group            |
   |       Baltimore County    |  http://umbc.edu/~jwisne1/mug         |
   | Computer Science Major    |  Read News at: umbc.org.mug           |
   | ·······@umbc.edu          |       ** Clinton/Gore in `96 **       |
   | http://umbc.edu/~jwisne1  |   Give me liberals or give me death!  | 
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^