nipd ( x y z -- y z ) (original) (raw)

nipd ( x y z -- y z )
Factor handbook » The language » Shuffle words

Prev: -rotd ( w x y z -- y w x z )
Next: 2nipd ( w x y z -- y z )

Vocabulary
kernel

Word description
This is a shuffle word, rearranging the top of the datastack as indicated by the word's stack effect: ( x y z -- y z ).

Definition

IN: kernel

: nipd ( x y z -- y z ) [ nip ] dip ; inline