nip ( x y -- y ) (original) (raw)

nip ( x y -- y )
Factor handbook » Guided tour of Factor » Stack Shuffling

Prev: swapd ( x y z -- y x z )
Next: rot ( x y z -- y z x )

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

Definition

IN: kernel

PRIMITIVE: nip ( x y -- y )