Handbook
Glossary
shorter ( seq1 seq2 -- seq )
Factor handbook
»
The language
»
Collections
»
Sequence operations
»
Sequence combinators
Prev:
maximum-by ( ... seq quot: ( ... elt -- ... x ) -- ... elt )
Next:
longer ( seq1 seq2 -- seq )
Vocabulary
sequences
Inputs
seq1
an
object
seq2
an
object
Outputs
seq
an
object
Definition
USING:
kernel
math
;
IN:
sequences
:
shorter
( seq1 seq2 -- seq )
[
2length
<=
]
most
;
inline