Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
dup ( x -- x x )
Factor handbook
>
The language
>
Shuffle words
Prev:
2nip ( x y z -- z )
Next:
2dup ( x y -- x y x y )
Vocabulary
kernel
Word description
Shuffle word. Rearranges the top of the datastack as indicated in the stack effect pattern.
Definition
IN:
kernel
PRIMITIVE:
dup
( x -- x x )