VocabularysequencesInputsOutputsWord descriptionOutputs the greatest element of
seq.
ExamplesExample:
USING: sequences prettyprint ;
{ 1 2 3 4 5 } supremum .
5
Example:
USING: sequences prettyprint ;
{ "c" "b" "a" } supremum .
"c"
ErrorsThrows an error if the sequence is empty.
See alsomin,
max,
infimum,
infimum-by,
supremum-byDefinition