Equality typeclass definition and its instances for basic types.
Construct from the eq and not-eq operations.
Construct just from the eq operation.
Construct from a comparison operation.
Instance for any type, which satisfies the magic comparable constraint.
Map over the owner type of an instance to produce a new instance.
Please notice that mapping is contravariant (i.e., (b -> a) instead of (a -> b)).
Instance for Bool.
Instance for Int.
Instance for Float.
Instance for Char.
Instance for String.
Equality for Maybe, with instance for its member provided.
Instance for Result, with instances for its members provided.
Instance for Either, with instances for its members provided.
Equality for List, with instance for its member provided.
Equality for Array, with instance for its member provided.
Instance for tuple, with instances for its members provided.
Instance for tuple, with instances for its members provided.
Explicit typeclass which implements equality for type
a.