(disclaimer: I'm new around here)
Is it possible to cycle backwards? If not, what's the best approach?

Example of some ideal "takeBack" function:
data = cycle([1,2,3][])
take(data, 4) is [1,2,3,1][]
takeBack(data, 4) would be [1,3,2,1][]

Thoughts?

Reply via email to