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 )


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 ).

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


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