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

Prev:nnip ( n -- )
Next:mnswap ( m n -- quot )


Vocabulary
generalizations

Inputs
nan integer


Outputs
None

Word description
A generalization of drop that can work for any number of items.

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

Some core words expressed in terms of ndrop:
drop1 ndrop
2drop2 ndrop
3drop3 ndrop


Definition