shiftLeft method
shifts left by count
Implementation
Iterable<T> shiftLeft([int count = 1]) {
if (count < 0) {
return shiftRight(count.abs());
}
if (count.isZero) {
return [...this];
}
// allow circular shift
final c = count % length;
return skip(c).followedBy(take(c));
}