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

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

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


Definition

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