minimum package:rio

O(n) minimum returns the minimum value from a 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.
The least element of a non-empty structure.
O(n) minimum returns the minimum value from a Text, which must be non-empty. Subject to fusion.
O(n) Yield the minimum element of the vector. The vector may not be empty.

Examples

>>> import qualified Data.Vector as V

>>> V.minimum $ V.fromList [2.0, 1.0]
1.0
O(n) Yield the minimum element of the vector. The vector may not be empty.

Examples

>>> import qualified Data.Vector as V

>>> V.minimum $ V.fromList [2.0, 1.0]
1.0
O(n) Yield the minimum element of the vector. The vector may not be empty.

Examples

>>> import qualified Data.Vector.Storable as VS

>>> VS.minimum $ VS.fromList [2.0, 1.0]
1.0
O(n) Yield the minimum element of the vector. The vector may not be empty.

Examples

>>> import qualified Data.Vector.Unboxed as VU

>>> VU.minimum $ VU.fromList [2.0, 1.0]
1.0
The least element of a non-empty structure with respect to the given comparison function.
O(n) Yield the minimum element of the vector according to the given comparison function. The vector may not be empty.
O(n) Yield the minimum element of the vector according to the given comparison function. The vector may not be empty.
O(n) Yield the minimum element of the vector according to the given comparison function. The vector may not be empty.
O(n) Yield the minimum element of the vector according to the given comparison function. The vector may not be empty.
The least element of a non-empty structure.
The least element of a non-empty structure with respect to the given comparison function.