minimum -text

minimum :: Ord a => [a] -> a
base Prelude, base Data.List
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.
minimum :: (Foldable t, Ord a) => t a -> a
base Data.Foldable
The least element of a non-empty structure.
minimum :: ByteString -> Char
bytestring Data.ByteString.Char8, bytestring Data.ByteString.Lazy.Char8
minimum returns the minimum value from a ByteString
minimum :: ByteString -> Word8
bytestring Data.ByteString.Lazy
O(n) minimum returns the minimum value from a ByteString
minimum :: ByteString -> Word8
bytestring Data.ByteString
O(n) minimum returns the minimum value from a ByteString This function will fuse. An exception will be thrown in the case of an empty ByteString.
minimumBy :: (a -> a -> Ordering) -> [a] -> a
base Data.List
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.
minimumBy :: Foldable t => (a -> a -> Ordering) -> t a -> a
base Data.Foldable
The least element of a non-empty structure with respect to the given comparison function.