help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Are two symbols `equal' iff they are `eq'?


From: Marcin Borkowski
Subject: Re: Are two symbols `equal' iff they are `eq'?
Date: Sun, 09 Aug 2015 16:42:25 +0200

On 2015-08-09, at 16:03, Michael Heerdegen <michael_heerdegen@web.de> wrote:

> Marcin Borkowski <mbork@mbork.pl> writes:
>
>> I cannot make two symbols which would be `equal' but not `eq'.
>
> Unlike what your subject says, you seem to want to know
>
>   Are two symbols `eq' iff they are `equal'?
>
> Which is the more interesting question.

No, it's the same question.
https://en.wikipedia.org/w/index.php?title=Iff&redirect=no

>> (defun eq (a b) (message "Haha!))
>> (equal 'a 'a)
>
> This is not a good test when the call to `eq' is done from C.  So, a
> negative result doesn't mean anything.

That's what I suspected.

> Michael.

Thanks,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



reply via email to

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