each-integer ( ... n quot: ( ... i -- ... ) -- ... )


Vocabulary
math

Inputs and outputs
nan integer
quota quotation with stack effect ( ... i -- ... )


Word description
Applies the quotation to each integer from 0 up to n, excluding n.

Notes
This word is used to implement each.

Definition


: each-integer ( ... n quot: ( ... i -- ... ) -- ... )
[ 0 ] 2dip (each-integer) ; inline