Loops/With multiple ranges: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: a little exposition) |
Thundergnat (talk | contribs) 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.
|