New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zen/Whatever slice ignore :v #6465
Comments
From @lizmat$ 6 'my @a = ^5; @a[10]=42; .say for @a[]:v' Note that :k *does* honour the filtering logic: $ 6 'my @a = ^5; @a[10]=42; .say for @a[]:k' |
From @smlsI'm surprised that zen slices accept adverbs at all. Isn't the whole point of a zen slice to return the invocant object directly, without looking at its elements or constructing a slice from them? I would probably make it print an error along the lines of: ===SORRY!=== (As the title of the ticket says, Whatever-slices *also* ignore :v, so that should be fixed of course.) |
The RT System itself - Status changed from 'new' to 'open' |
> raku -e 'my @a = ^5; @a[10]=42; .say for @a[]:v'
0
1
2
3
4
42 |
Migrated from rt.perl.org#131956 (status was 'open')
Searchable as RT131956$
The text was updated successfully, but these errors were encountered: