maximum -bytestring

maximum :: Ord a => [a] -> a
base Prelude, base Data.List
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.
maximum :: (Foldable t, Ord a) => t a -> a
base Data.Foldable
The largest element of a non-empty structure.
maximum :: Text -> Char
text Data.Text, text Data.Text.Lazy
O(n) maximum returns the maximum value from a Text, which must be non-empty. Subject to fusion.
maximumBy :: (a -> a -> Ordering) -> [a] -> a
base Data.List
The maximumBy function takes a comparison function and a list and returns the greatest element of the list by the comparison function. The list must be finite and non-empty.
maximumBy :: Foldable t => (a -> a -> Ordering) -> t a -> a
base Data.Foldable
The largest element of a non-empty structure with respect to the given comparison function.