[Novalug] List test
James Ewing Cottrell 3rd
JECottrell3 at Comcast.NET
Thu Jul 8 12:53:15 EDT 2010
You remember correctly. The quote turns it into an atom, which is not a
I realized that shortly after I hit the send key.
However, I believe that your two expressions are different. The fist
looks at the symbol value, while the latter calls novalug as a function
and tests the value it returns. And (listp '(novalug)) should do the trick.
On 7/7/2010 9:23 PM, Dave Aronson wrote:
> On Wed, Jul 7, 2010 at 20:47, James Ewing Cottrell 3rd
> <JECottrell3 at comcast.net> wrote:
>> (listp 'novalug)
> Wouldn't the quote turn it into a literal which would not therefore be
> a list? (listp novalug) or (listp ('novalug)) would work fine.
> Or am I misremembering? I haven't touched LISP in about 26 years....
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.830 / Virus Database: 271.1.1/2987 - Release Date: 07/07/10 02:36:00
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Novalug