:: (a -> a -> Ordering) -> [a] -> a package:foldable1-classes-compat

The largest element of a non-empty structure with respect to the given comparison function.
The least element of a non-empty structure with respect to the given comparison function.