shiftR package:deque

, occasionally <math>. Move the last element to the beginning.
λ toList . shiftRight $ fromList [1,2,3]
[3,1,2]
, occasionally <math>. Move the last element to the beginning.
, occasionally <math>. Move the last element to the beginning.