emacs-devel
[Top][All Lists]
Advanced

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

Re: Using empty_string as the only "" string


From: Juanma Barranquero
Subject: Re: Using empty_string as the only "" string
Date: Tue, 24 Apr 2007 20:50:26 +0200

On 4/24/07, Andreas Schwab <address@hidden> wrote:

I see nothing wrong with that.

I do see it. The issue is not string comparison, but object identity.
It's no different from

(eq 0.0 0.0) => nil

I would be mightily surprised if

 (eq (- 2.0 0.0) (- 2.0 0.0)) => nil
 (eq (- 2.0 1.0) (- 2.0 1.0)) => nil
 (eq (- 2.0 2.0) (- 2.0 2.0)) => t

were true.

            Juanma




reply via email to

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