Handbook
Glossary
longest ( seqs -- elt )
Factor handbook
»
The language
»
Collections
»
Sequence operations
»
Sequence combinators
Prev:
shortest ( seqs -- elt )
Next:
replicate ( ... len quot: ( ... -- ... newelt ) -- ... newseq )
Vocabulary
sequences
Inputs
seqs
a
sequence
Outputs
elt
an
object
Word description
Outputs the longest sequence from
seqs
.
See also
shortest
Definition
IN:
sequences
:
longest
( seqs -- elt )
[
length
]
maximum-by
;