**Packages**- bytestring
- base
- text

minimum returns the minimum 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.

The least element of a non-empty structure.

The minimumBy function takes a comparison function and a list and returns the least element of the list by the comparison function. The list must be finite and non-empty.

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