unrolled-each ( seq len quot: ( x -- ) -- )
Unrolled sequence iteration combinators

Next:unrolled-each-index ( seq len quot: ( x i -- ) -- )


Vocabulary
sequences.unrolled

Inputs and outputs
seqa sequence
lenan integer
quota quotation with stack effect ( x -- )


Word description
Unrolled version of each that iterates over the first len elements of seq. len must be a compile-time constant. If seq has fewer than len elements, raises an unrolled-bounds-error.

Definition