Handbook
Glossary
rotd ( w x y z -- x y w z )
Factor handbook
»
The language
»
Shuffle words
Prev:
4spin ( w x y z -- z y x w )
Next:
-rotd ( w x y z -- y w x 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 -- x y w z ).
Definition
IN:
kernel
:
rotd
( w x y z -- x y w z )
[
rot
]
dip
;
inline