push-if-index ( ..a elt i quot: ( ..a elt i -- ..b ? ) accum -- ..b )


Vocabulary
sequences.extras

Inputs
eltan object
ian integer
quota quotation
accuman object


Outputs
None

Definition


: push-if-index
( ..a elt i quot: ( ..a elt i -- ..b ? ) accum -- ..b )
[ keepd ] dip rot [ push ] [ 2drop ] if ; inline