RotateLeft
RotateLeft(list)rotates the items of
listby one item to the left.
RotateLeft(list, n)rotates the items of
listbynitems to the left.
Examples
>> RotateLeft({1, 2, 3}){2,3,1}
>> RotateLeft(Range(10), 3){4,5,6,7,8,9,10,1,2,3}
>> RotateLeft(x(a, b, c), 2)x(c,a,b)Implementation status
- ✅ - full supported