maximum returns the maximum value from a list, which must be
non-empty, finite, and of an ordered type. It is a special case of
maximumBy, which allows the programmer to supply their own
comparison function. Empty lists throw an EmptyListException.
minimum returns the maximum value from a list, which must be
non-empty, finite, and of an ordered type. It is a special case of
minimumBy, which allows the programmer to supply their own
comparison function. Empty lists throw an EmptyListException.