Handbook
Glossary
shortest ( seqs -- elt )
Factor handbook
»
The language
»
Collections
»
Sequence operations
»
Sequence combinators
Prev:
longer? ( seq1 seq2 -- ? )
Next:
longest ( seqs -- elt )
Vocabulary
sequences
Inputs
seqs
a
sequence
Outputs
elt
an
object
Word description
Outputs the shortest sequence from
seqs
.
See also
longest
Definition
IN:
sequences
:
shortest
( seqs -- elt )
[
length
]
minimum-by
;