min-length ( seq1 seq2 -- n )


Vocabulary
sequences

Inputs and outputs
seq1a sequence
seq2a sequence
na non-negative integer


Word description
Outputs the minimum of the lengths of the two sequences.

Definition
USING: kernel math.order ;

IN: sequences

: min-length ( seq1 seq2 -- n ) [ length ] bi@ min ; inline