cleave-curry ( a quot... n -- )
Factor handbook > The language > Combinators > Generalized shuffle words and combinators > Generalized combinators

Prev:apply-curry ( a... quot n -- )
Next:spread-curry ( a... quot... n -- )


Inputs and outputs
aan object
quot...n quotations on the datastack
nan integer

Word description
Curries a onto the n quotations on the top of the datastack. A generalization of bi-curry and tri-curry.

This word can be used with cleave* and spread* to generalize dataflow patterns such as bi-curry bi, tri-curry tri, bi-curry bi*, and tri-curry tri*.