Eq.Make
Functor building an implementation of EQ
given a type with a structural equality function.
module T : sig ... end
type t = T.t
The type of elements to check for equality.
equal a b
is true
if and only if a
and b
are equal. This should satisfy the following properties:
equal a a = true
equal a b
is equivalent to equal b a
equal a b = true
and equal b c = true
, then equal a c = true