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

Prev:-rot ( x y z -- z x y )
Next:4spin ( w x y z -- z y x w )


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 -- z y x ).

Definition

: spin ( x y z -- z y x ) -rot swap ; inline