(rontolisp) docs
← Macros

rotatef

(rotatef place...)

Rotates the values of its setf-able places to the left: the first place receives the old value of the second, and so on, and the last place receives the old value of the first. Returns nil. Every place is read into a temporary before any is written, so a two-place rotatef swaps.