Re: [perl #99658] sequence operator '...' timeout

2014-10-17 Thread Parrot Raiser
Wouldn't 1,3,5,7 be a more reasonable result? The next value, 9 is greater than the end term, so it should stop? On 10/16/14, Carl Mäsak via RT perl6-bugs-follo...@perl.org wrote: bartolin (): Actually I don't think S03 says that '1,3,5 ... 8' should act as '1,3,5 ... *' As I understand it

[perl #99658] sequence operator '...' timeout

2014-10-16 Thread Carl Mäsak via RT
bartolin (): Actually I don't think S03 says that '1,3,5 ... 8' should act as '1,3,5 ... *' As I understand it '1,3,5 ... 8' gives an infinite list with all even numbers. '1,3,5 ... *' also gives an infinite list with all even numbers -- but this one is lazy. So there is a difference in

[perl #99658] sequence operator '...' timeout

2014-09-24 Thread Christian Bartolomaeus via RT
Actually I don't think S03 says that '1,3,5 ... 8' should act as '1,3,5 ... *' As I understand it '1,3,5 ... 8' gives an infinite list with all even numbers. '1,3,5 ... *' also gives an infinite list with all even numbers -- but this one is lazy. So there is a difference in behaviour: When

[perl #99658] sequence operator '...' timeout

2012-05-27 Thread Will Coleda via RT
On Tue Sep 20 23:03:06 2011, woosley.xu wrote: (13:50:48) woosley: rakudo: my @a = 1,3,5 ... *; say @a[^4] (13:50:49) p6eval: rakudo f1c805: OUTPUT«1 3 5 7␤» (13:46:40) woosley: perl6: my @odd = 1,3,5 ... 8; say @odd[^4] (13:47:05) p6eval: rakudo f1c805, niecza v9-32-g380d891:

[perl #99658] sequence operator '...' timeout

2012-05-27 Thread Will Coleda via RT
On Sun May 27 21:13:06 2012, coke wrote: On Tue Sep 20 23:03:06 2011, woosley.xu wrote: (13:50:48) woosley: rakudo: my @a = 1,3,5 ... *; say @a[^4] (13:50:49) p6eval: rakudo f1c805: OUTPUT«1 3 5 7␤» (13:46:40) woosley: perl6: my @odd = 1,3,5 ... 8; say @odd[^4] (13:47:05) p6eval:

[perl #99658] sequence operator '...' timeout

2011-09-21 Thread via RT
# New Ticket Created by woosley. xu. # Please include the string: [perl #99658] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=99658 (13:50:48) woosley: rakudo: my @a = 1,3,5 ... *; say @a[^4] (13:50:49) p6eval: