swapd ( x y z -- y x z )
Factor handbook > The language > Shuffle words > Complex shuffle words

Prev:dupd ( x y -- x x y )
Next:rot ( x y z -- y z x )


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

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