You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And the real pain point is that a cached Seq is basically a list.
Currently, .skip on a Seq crashes. I tried to fix[^1] the crash, but
the fixed version has these inconsistent semantics that `Seq.skip`
will either modify the invocant or not, depending on whether the Seq
is cached.
$ ./perl6 -e 'm: my $s := (1, 2, 3).Seq; $s.cache; $ = $s.skip; say $s'
(1 2 3)
$ ./perl6 -e 'm: my $s := (1, 2, 3).Seq; $ = $s.skip; say $s'
(2 3)
I don't see .skip in 6.c tests, so I think we still have a chance to
improve it. The question's: how? Any ideas?
Migrated from rt.perl.org#132184 (status was 'resolved')
Searchable as RT132184$
The text was updated successfully, but these errors were encountered: