n&& ( quots n -- quot )
Factor handbook » The language » Combinators » Short-circuit combinators

Prev:3|| ( obj1 obj2 obj3 quots -- ? )
Next:n|| ( quots n -- quot )


Vocabulary
combinators.short-circuit

Inputs
quotsa sequence of quotations
nan integer


Outputs
quota quotation


Word description
A macro that rewrites the code to pass n parameters from the stack to each quotation, evaluating the result in the same manner as 0&&.

Definition