Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
rot ( x y z -- y z x )
Factor documentation
>
Factor handbook
>
The language
>
Shuffle words
>
Complex shuffle words
Prev:
swapd ( x y z -- y x z )
Next:
-rot ( x y z -- z x y )
Vocabulary
kernel
Word description
Shuffle word. Rearranges the top of the datastack as indicated in the stack effect pattern.
This word is deprecated
The data flow represented by this shuffle word can be more clearly expressed using
Lexical variables
.
Definition
IN:
kernel
PRIMITIVE:
rot
( x y z -- y z x )