I've searched the Raku Documentation and several books & tutorials and several Stackoverflow posts to learn how to delete an item from a list/array cleanly i.e. without having the (Any) in the place of the deleted element
my @s = <3 18 4 8 92 14 30>;
my $item = 8;
my $index = @s.first($item, :k);
@s[$index]:delete;
This results in [3 18 4 (Any) 92 14 30] and so I can't do any operation on it, e.g. I can't apply [+] on it.
Is there a way to delete an item from a list/array without that (Any) ?