Iterators: Difference between revisions

Content added Content deleted
m (→‎{{header|Raku}}: sigh, more typos)
Line 153: Line 153:


for %positional-iterable-types.values {
for %positional-iterable-types.values {
say "\nType " ~ .^name ~ ', contents: ' ~ .$ ~ "\nFirst, fourth and fifth from start; " ~
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];
};
};