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 )


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

This word is deprecated
The data flow represented by this shuffle word might be more clearly expressed using Lexical variables.


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