minimumBy package:contiguous

The least element of a structure with respect to the given comparison function.