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

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


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

Definition

PRIMITIVE: 2dup ( x y -- x y x y )