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