Open julochrobak opened 11 years ago
The equality operator is missing the symmetric property. In some cases, the results are different depending on the order in which the attributes compared.
For example:
[ a | a <- [ 0, "1" ], a == "" ]
and
[ a | a <- [ 0, "1" ], "" == a ]
Indeed, there is a problem with "" == 0 vs 0 == "".
"" == 0
0 == ""
The equality operator is missing the symmetric property. In some cases, the results are different depending on the order in which the attributes compared.
For example:
and