-rotd ( w x y z -- y w x z )
Factor handbook » The language » Shuffle words

Prev:rotd ( w x y z -- x y w z )
Next:nipd ( x y z -- y z )


Vocabulary
kernel

Word description
This is a shuffle word, rearranging the top of the datastack as indicated by the word's stack effect: ( w x y z -- y w x z ).

Definition

: -rotd ( w x y z -- y w x z ) [ -rot ] dip ; inline