Re: Is there any eq t test in Common Lisp?
- From: "Andreas Thiele" <nospam@xxxxxxxxxx>
- Date: Tue, 30 Jan 2007 13:11:35 +0100
"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
.
- Follow-Ups:
- Re: Is there any eq t test in Common Lisp?
- From: Pascal Costanza
- Re: Is there any eq t test in Common Lisp?
- References:
- Is there any eq t test in Common Lisp?
- From: Andreas Thiele
- Re: Is there any eq t test in Common Lisp?
- From: Kaz Kylheku
- Re: Is there any eq t test in Common Lisp?
- From: Pascal Bourguignon
- Re: Is there any eq t test in Common Lisp?
- From: Pascal Costanza
- Re: Is there any eq t test in Common Lisp?
- From: André Thieme
- Is there any eq t test in Common Lisp?
- Prev by Date: Re: Automatic parallelization - was Re: LISP Object Oriented?
- Next by Date: Re: Is there any eq t test in Common Lisp?
- Previous by thread: Re: Is there any eq t test in Common Lisp?
- Next by thread: Re: Is there any eq t test in Common Lisp?
- Index(es):