New in version 2.0.
Yield all n-rotations of sequence up to identity:
abjad> from abjad.tools import sequencetools
abjad> list(sequencetools.yield_all_rotations_of_sequence([1, 2, 3, 4], -1))
[[1, 2, 3, 4], [2, 3, 4, 1], [3, 4, 1, 2], [4, 1, 2, 3]]
Return generator of sequence objects.