[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Whats wrong with this defcustom?
From: |
Thien-Thi Nguyen |
Subject: |
Re: Whats wrong with this defcustom? |
Date: |
Tue, 29 Jul 2014 04:06:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
() Robert Thorpe <rt@robertthorpeconsulting.com>
() Tue, 29 Jul 2014 01:46:10 +0100
'(something) is just an abbreviation for
(quote something).
This is not correct.
'(something) ≡ (quote (something))
which evals to a list of one element, the symbol ‘something’
i.e., => (something)
but
(quote something) ≡ 'something
which evals to the symbol ‘something’
i.e., => something
Also, i think it's better to say "evals to" rather than "returns".
The latter strikes me as indicative of a function-call context.
OTOH, ‘eval’ is a function, so i suppose YMMV... :-D
--
Thien-Thi Nguyen
GPG key: 4C807502
(if you're human and you know it)
read my lisp: (responsep (questions 'technical)
(not (via 'mailing-list)))
=> nil
signature.asc
Description: PGP signature
Message not available
Re: Whats wrong with this defcustom?, Sebastian Wiesner, 2014/07/28