Interface FH\Eq<-T>

Interface for equality comparators.

Laws

Reflexivity
eq($a,$a)\mathtt{eq(\$a, \$a)}
Symmetry
eq($a,$b)=eq($b,$a)\mathtt{eq(\$a, \$b)} = \mathtt{eq(\$b, \$a)}
Transitivity
eq($a,$b)eq($b,$c)eq($a,$c)\mathtt{eq(\$a, \$b)} \wedge \mathtt{eq(\$b, \$c)} \rightarrow \mathtt{eq(\$a, \$c)}

Instance methods

eq(T $a, T $b): bool
Return whether two values are equal.