in reply to Re^4: [Raku] Ranges in array slices
in thread [Raku] Ranges in array slices
To make sure, we're on the same page, the sequence of even numbers can end:
And if this was obvious, then - yes, that's the point. Sequences allow this kind of dissonances. No error is reported by the language. There's space for absurd. Or what should this be better called?> say 0, * + 2 ... $_ for 2, 10 (0 2) (0 2 4 6 8 10)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: [Raku] Ranges in array slices
by holli (Abbot) on Jun 05, 2021 at 21:08 UTC | |
Re^6: [Raku] Ranges in array slices
by LanX (Saint) on Jun 05, 2021 at 21:00 UTC |
In Section
Seekers of Perl Wisdom