Iterators: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (→{{header|Raku}}: typo) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: sigh, more typos) |
||
Line 153: | Line 153: | ||
for %positional-iterable-types.values { |
for %positional-iterable-types.values { |
||
say "\nType " ~ .^name ~ ', contents: ' ~ |
say "\nType " ~ .^name ~ ', contents: ' ~ $_ ~ "\nFirst, fourth and fifth from start; " ~ |
||
.[0, 3, 4] ~ ', and from end: ' ~ .[*-1, *-4, *-5]; |
.[0, 3, 4] ~ ', and from end: ' ~ .[*-1, *-4, *-5]; |
||
}; |
}; |