Subject: Re: '(a b c) and (list a b c)
From: Erik Naggum <nobody@naggum.no>
Date: 1996/12/13
Newsgroups: comp.lang.lisp
Message-ID: <3059442335219292@naggum.no>


* John Somerville
| Are these identical in Common Lisp?

no.  '(a b c) is identical to (quote (a b c)), which evaluates to (a b c),
a list of the three symbols a, b, and c.  (list a b c) evaluates to a list
of the values of the symbols a, b, and c, and thus depends on the value of
a, b, and c, at the time of the call.

e.g., 

    (let ((a 1)
	  (b 2)
	  (c 3))
      (print '(a b c))
      (print (list a b c))
      (values))

prints

    (A B C) 
    (1 2 3) 

I didn't understand your second question.

#\Erik
-- 
Please address private replies, only, to "erik".  Junk mail, spam,
stupid flames, courtesy copies, etc, should be sent to "nobody".