From xemacs-m  Thu Mar  6 19:56:15 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id TAA08148
	for <xemacs-beta@xemacs.org>; Thu, 6 Mar 1997 19:56:12 -0600 (CST)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id CAA25864; Fri, 7 Mar 1997 02:56:11 +0100 (MET)
Sender: hniksic@public.srce.hr
To: xemacs-beta@xemacs.org
Subject: Re: Ebola warnings -- help!!
References: <199703062125.NAA05457@sandman> 	<QQcftf06598.199703062158@crystal.WonderWorks.COM> 	<m2sp28inop.fsf@altair.xemacs.org> 	<QQcfto01108.199703070000@crystal.WonderWorks.COM> 	<m2hgioije7.fsf@altair.xemacs.org> <QQcftt02418.199703070128@crystal.WonderWorks.COM> <m23eu8xy5q.fsf@altair.xemacs.org>
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Attribution: Hrv
X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nAEL1M(".[qvI#a2E
 6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/XvhAu7qeES0\|MF%$;sI#yn1+y"
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 07 Mar 1997 02:56:11 +0100
In-Reply-To: Steven L Baur's message of 06 Mar 1997 17:56:33 -0800
Message-ID: <kigendsfosk.fsf@jagor.srce.hr>
Lines: 29
X-Mailer: Gnus v5.4.17/XEmacs 19.14

Steven L Baur <steve@miranova.com> writes:

> > "Dubious" because not all eq checks of integers and characters
> > are bad.
> 
> As near as I can tell all eq checks between integers and characters
> lose.

Why?  The result is correct (`nil'), and that may be exactly what you
want.

(eq "hi there" 64)
nil

(eq '(1 2 3 4) 64)
nil

(eq ?@ 64)
nil

All of these are OK (no error signaled in either case), and all may be
exactly what the programmer wanted (to get nil) in a Lisp program.
Ebola warning was devised for the cases where old software relied on
the last case eval-ing to `t', which *does* lose.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Ask not for whom the <CONTROL-G> tolls.

