Constructs an instance from a hash function, equal function and ord function.
Constructs an instance from a hash function, equal function and ord function.
Checking equality is delegated to ord
, so short-circuiting the equality check (failing fast) is not possible.
Constructs an instance from a hash0
function, an ord
function and a
equal0 function.
Since this takes a separate
equal0, short-circuiting the equality check (failing fast) is possible.