On 30 September 2011 10:54, Stefan Krause <stf@xxxxxxxx> 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
|