Equality:
x == y (1 == 1.0 # true)x == y (1 != 1.0 # false)x === y (1 === 1.0 # false)x === y (1 !== 1.0 # true)Comparison:
x > yx >= yx < yx <= yIf types are compatible, comparison uses natural ordering. Otherwise there is general types comparison rule:
number < atom < reference < function < port < pid < tuple < map < list < binary