Loops/Wrong ranges: Difference between revisions
m
→{{header|Raku}}: Minor fix for recent rule change for stricter caching of sequences
Langurmonkey (talk | contribs) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: Minor fix for recent rule change for stricter caching of sequences) |
||
Line 1,140:
# Start with an array, iterate by rotating, end when 0 is in the last place.
say [0,1,2,3,4,5], *.rotate(-1).Array … !*.tail;
# Iterate strings backwards.
|