:: (a -> a -> Ordering) -> [a] -> a package:LambdaHack

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