Get the maximum element of a monomorphic container, using a supplied
element ordering function.
Safe version of maximumByEx, only works on monomorphic
containers wrapped in a NonNull.
Get the maximum element of a monomorphic container, using a supplied
element ordering function.
Note: this is a partial function. On an empty MonoFoldable, it
will throw an exception.
See maximumBy from Data.NonNull for a total version
of this function.