Re: Is there any eq t test in Common Lisp?




"André Thieme" <address.good.until.2007.feb.05@xxxxxxxxxxx> schrieb im Newsbeitrag news:eplpdp$a84$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Pascal Costanza schrieb:

Indeed, (eq t x) is silly. If you want to know if x is the symbol t,
then you should write (eq 't x).

The constant variable t is specified to return the symbol t, (eq t x)
and (eq 't x) are guaranteed to behave the same.

I think (the other) Pascal was aware of this. To me it more looked like
a good style suggestion.


André
--

Mmmm,

I don't know if it is really good style writing 't if t definitely does the job.
OK it's just one character, but I appreciate succintness :)

Andreas

.