chickadee » srfi-134 » ideque-rotate

ideque-rotate ideque kprocedure

Cyclically permutes ideque to the right or left, depending on the sign of the integer k. When k is positive, the elements of ideque are rotated k places to the right; when k is negative, they are rotated |k| places to the left.