[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Whats wrong with this defcustom?

From: Robert Thorpe
Subject: Re: Whats wrong with this defcustom?
Date: Thu, 31 Jul 2014 22:56:56 +0100

Emanuel Berg <address@hidden> writes:

> Robert Thorpe <address@hidden> writes:
> Yeah? Isn't it just plain evaluation inside-out?
> (equal '(something) (quote (something)))     ; t
> '(equal '(something) (quote (somethingelse))) ; nil

My point is only that the '(something) is converted into (quote
(something)) by the lisp reader.  Equality wasn't really the issue
because that conversion happens before the lisp interpreter proper gets
involved.  It happens before the interpreters ideas about equality are involved.

What the interpreter or evaluator sees for the code above is:
(equal (quote (something)) (quote (something))) ; t
(equal (quote (something)) (quote (somethingelse))) ; nil

Robert Thorpe

reply via email to

[Prev in Thread] Current Thread [Next in Thread]