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

Prev:over ( x y -- x y x )
Next:swapd ( x y z -- y x 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 -- x x y ).

Definition

PRIMITIVE: dupd ( x y -- x x y )