Handbook
Glossary
2each-index ( ... seq1 seq2 quot: ( ... elt1 elt2 index -- ... ) -- ... )
Vocabulary
sequences
.
extras
Inputs
seq1
a
sequence
seq2
a
sequence
quot
a
quotation
with stack effect
( ... elt1 elt2 index -- ... )
Outputs
None
Word description
Applies
quot
to each pair of elements from
seq1
and
seq2
, providing the index of the elements at the top of the stack.
See also
2each
,
each-index
Definition
USING:
math
sequences.extras.private
;
IN:
sequences.extras
:
2each-index
( ... seq1 seq2 quot: ( ... elt1 elt2 index -- ... ) -- ... )
2sequence-index-iterator
each-integer
;
inline