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 -- )


Vocabulary
generalizations

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


Outputs
None

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

Notes
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*.

Definition