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

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

Definition

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