nnip ( n -- )
Factor handbook » The language » Combinators » Generalized shuffle words and combinators » Generalized shuffle words

Prev:-nrot ( n -- quot )
Next:ndrop ( n -- )


Vocabulary
generalizations

Inputs
nan integer


Outputs
None

Word description
A generalization of nip and 2nip that can work for any number of items.

Examples
USING: prettyprint generalizations kernel ; 1 2 3 4 3 nnip .
4

Some core words expressed in terms of nnip:
nip1 nnip
2nip2 nnip


Definition