xsl-list
[Top] [All Lists]

Re: [xsl] () eq () vs () = ()

2011-09-30 05:48:17
On 30 September 2011 10:54, Stefan Krause <stf(_at_)snafu(_dot_)de> wrote:
To make the confusion complete, deep-equals((),()) returns true(), which is 
IMHO the most expected behavior.

heh so

() = () returns false

deep-equals((),()) returns true

That's interesting, I'm guessing it has to be a 'just because'
reason... unless its because, ahem, deep down everything is equal  :)

Fwiw, it applies to the other comparison operators too, eg () > ()
returns false, () ge () returns ().





-- 
Andrew Welch
http://andrewjwelch.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>