package traits
Module Traits.PartialEqSource
PartialEq defines primitives for partial equivalence for two types (t and rhs)
In order for a module to implement PartialEq, it has to conform to the T signature.
Source
val eq :
(module T with type PartialEq.t = 'a and type PartialEq.rhs = 'b) ->
'a ->
'b ->
boolTests x and y to be equal with a module M that implements signature T
Source
val ne :
(module T with type PartialEq.t = 'a and type PartialEq.rhs = 'b) ->
'a ->
'b ->
boolTests x and y to be unequal with a module M that implements signature T