ncleave ( quots n -- quot )
Factor handbook » The language » Combinators » Generalized shuffle words and combinators » Generalized combinators

Prev:napply ( quot n -- )
Next:nspread ( quots n -- quot )


Vocabulary
generalizations

Inputs
quotsa sequence of quotations
nan integer


Outputs
None

Word description
A generalization of cleave and 2cleave that can work for any quotation arity.

Examples
Some core words expressed in terms of ncleave:
cleave1 ncleave
2cleave2 ncleave


Definition