max package:mixed-types-num

A replacement for Prelude's min and max. If t1 = t2 and Ord t1, then one can use the default implementation to mirror Prelude's min and max.
HSpec properties that each implementation of CanMinMax should satisfy.
HSpec properties that each implementation of CanMinMax should satisfy.