maximumBy package:rio

The largest element of a non-empty structure with respect to the given comparison function.
O(n) Yield the maximum element of the vector according to the given comparison function. The vector may not be empty.
O(n) Yield the maximum element of the vector according to the given comparison function. The vector may not be empty.
O(n) Yield the maximum element of the vector according to the given comparison function. The vector may not be empty.
O(n) Yield the maximum element of the vector according to the given comparison function. The vector may not be empty.
The largest element of a non-empty structure with respect to the given comparison function.