-
Notifications
You must be signed in to change notification settings - Fork 1
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
rotor
hangs when given an infinite Seq or List as the cycle
#5636
Comments
From @smls`rotor` accepts an infinite Range or Array as the cycle: say <a b c d e f>.rotor: 1..*; # prints ((a) (b c) (d e f)) But when given an infinite Seq or List, it hangs indefinitely: say <a b c d e f>.rotor: 1...*; # hangs |
From @zoffixznetTo add, the cause is .is-lazy on slurpy args seems to attempt to reify the entire sequence: -> *@a { @a.is-lazy.say }(1…∞) # hangs |
The RT System itself - Status changed from 'new' to 'open' |
From @zoffixznetOn Sat, 03 Sep 2016 21:03:12 -0700, cpan@zoffix.com wrote:
The rotor hang fixed in rakudo/rakudo@d7b82149d31da0 Marking testsneeded. |
From @smlsbisectable revealed that the rotor issue was fixed by: and the general *@ slurpy issue was fixed by: Both probably need tests. |
From @zoffixznet |
@zoffixznet - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#129175 (status was 'resolved')
Searchable as RT129175$
The text was updated successfully, but these errors were encountered: