each ( ... seq quot: ( ... x -- ... ) -- ... )
Factor handbook » The language » Collections » Sequence operations » Sequence combinators

Next:each-index ( ... seq quot: ( ... elt index -- ... ) -- ... )


Vocabulary
sequences

Inputs
seqa sequence
quota quotation with stack effect ( ... x -- ... )


Outputs
None

Word description
Applies the quotation to each element of the sequence in order.

Definition