Jump to content

Loops/With multiple ranges: Difference between revisions

m
m (→‎{{header|Perl 6}}: a little exposition)
m (→‎{{header|Perl 6}}: clarification)
Line 396:
=={{header|Perl 6}}==
 
This task is really conflating two separate things, (at least in Perl 6). Sequences and loops are two different concepts and may be considered / implemented separately from each other.
 
Yes, you can generate a sequence with a loop, and a loop can use a sequence for an iteration value, but the two are somewhat orthogonal and don't necessarily overlap.
10,343

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.