W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1998

Re: [XML-SIG] RE: Equality tests on DOM nodes

From: John Cowan <cowan@locke.ccil.org>
Date: Mon, 14 Dec 1998 15:45:48 -0500
Message-ID: <367578FC.373DACD1@locke.ccil.org>
To: "Fred L. Drake, Jr." <fdrake@acm.org>
CC: Paul Butkiewicz <arabbit@earthlink.net>, www-dom@w3.org, xml-sig@python.org
Fred L. Drake wrote:

>   Perhaps there is no fully general equality that isn't identity?

To be precise:  Fully general equality (fge) for mutable objects is
identity.  Fge for immutable objects is the fge-ness of their parts,
since indiscernable objects are identical (Leibniz's criterion).

E.g. immutable strings are equal if their characters are equal,
but (mutable) vectors are equal only if they are identical objects.

(There are other definitions of equality, of course, but they are
not general.)

John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)
Received on Monday, 14 December 1998 15:46:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:05 UTC