Comparison typeclass definition and its instances for basic types.
Construct an instance from just a compare function.
Construct an instance from an instance of equality and a lesser-than function.
Construct an instance for a comparable type using the compiler-generated definitions.
Map over the owner type of an instance to produce a new instance.
You need to provide both a covariant and a contravariant mapping
(i.e., (a -> b) and (b -> a)).
Instance for Int.
Instance for Float.
Explicit typeclass which implements comparison operations for type
a.