[perl #125927] नि -- a grapheme cluster boundary algo problem (CCC = 0 can be a valid combiner?)

2015-08-27 Thread via RT
# New Ticket Created by raiph # Please include the string: [perl #125927] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125927 > jnthn++ and others are busy with work that is far more important and urgent than dealing with t

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-27 Thread David H. Adler
On Thu, Aug 27, 2015 at 10:35:27AM -0400, yary wrote: > On Thu, Aug 27, 2015 at 4:45 AM, Marc Chantreux wrote: > >complete different usage but it would be nice to have a flag for "use > >strict" both in perl5 and 6 > > /me nominates -W as "a bigger -w" .. oh wait, -W already exists as a > depreci

[perl #74902] [BUG] Rakudo allows assignment to elements of a readonly array... except when it doesn't

2015-08-27 Thread Will Coleda via RT
On Sat Oct 20 18:12:38 2012, coke wrote: > On Tue May 04 14:13:17 2010, masak wrote: > > rakudo: sub foo(@a) { @a[1] = "NOES" }; my @a = ; > > foo(@a); say ~@a > > rakudo 1eef08: OUTPUT«OH NOES␤» > > is this supposed to be allowed? > > masak: I haven't seen a clear answer to that question. > >

[perl #84342] [BUG] Keyword 'module' disables automatic calling of MAIN sub when file is run as a program.

2015-08-27 Thread Will Coleda via RT
On Wed Apr 01 11:46:59 2015, barto...@gmx.de wrote: > This was answered recently on SO: > http://stackoverflow.com/questions/29281305/how-do-i-make-a-modulino- > in-perl6 > > The recommended solution was "to add MAIN to the module and import it > into the script's mainline. This way, everything de

[perl #84342] [BUG] Keyword 'module' disables automatic calling of MAIN sub when file is run as a program.

2015-08-27 Thread Will Coleda via RT
On Wed Apr 01 11:46:59 2015, barto...@gmx.de wrote: > This was answered recently on SO: > http://stackoverflow.com/questions/29281305/how-do-i-make-a-modulino- > in-perl6 > > The recommended solution was "to add MAIN to the module and import it > into the script's mainline. This way, everything de

[perl #77474] [BUG] [LIST] Something strange happens when doing binding in a subsignature as part of the Hamming problem in Rakudo

2015-08-27 Thread Will Coleda via RT
On Tue Sep 02 08:21:59 2014, coke wrote: > On Mon Jan 30 06:13:36 2012, moritz wrote: > > The code as-is will never work, because at some point it'll pass an > > empty list to one side of the 'merge' operator, in which case the > > subsignature binding fails. > > > > Here is an updated version (see

[perl #82424] [BUG] Infinite recursion in parcel construction and assignment when the parcel contains the LHS in Rakudo

2015-08-27 Thread Will Coleda via RT
On Tue Jan 18 14:35:46 2011, masak wrote: > rakudo: my $a = 1; my $b = 2; $a = ($a, $b); say $a.perl > rakudo 388eed: OUTPUT«maximum recursion depth exceeded␤ in > 'Block::count' at line 6077:CORE.setting␤ in 'Block::count' at line > 6077:CORE.setting␤ in 'Any::join' at line 1␤ in 'List::perl

[perl #116527] [BUG] Mixing into a List causes it to be unprintable in Rakudo

2015-08-27 Thread Will Coleda via RT
On Thu Aug 27 06:04:57 2015, coke wrote: > On Wed Jan 23 06:47:55 2013, masak wrote: > > <[Coke]> r: role c {}; my @a = 1,2,3,4; my $b = @a.pick(2) but c; say > > $b.WHAT; say $b; > > rakudo 388c1b: OUTPUT«List+{c}()␤elements() not implemented > > in class 'Mu' [...] > > r: my @a = 1,2,3,4; my $b

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-27 Thread yary
On Thu, Aug 27, 2015 at 4:45 AM, Marc Chantreux wrote: >complete different usage but it would be nice to have a flag for "use >strict" both in perl5 and 6 /me nominates -W as "a bigger -w" .. oh wait, -W already exists as a depreciated-in-my-view perl5 flag. In that case, I also like "-E" as "ru

[perl #118867] [BUG] The maximum of a range from zero to infinity (0..Inf or 0..*) is far too small in Rakudo

2015-08-27 Thread Will Coleda via RT
On Thu Jul 11 06:55:23 2013, masak wrote: > r: say [max] 1..* > rakudo b19f72: OUTPUT«-Inf␤» > er. > wtf. > * masak submits rakudobug > hehe This is fixed in the glr branch. Closable with tests. Good luck writing a test that tests that we successfully entered an infinite loop. -- Will "Co

[perl #122468] No such method 'payload' for invocant of type 'Str'

2015-08-27 Thread Will Coleda via RT
On Mon Jul 27 10:08:17 2015, moritz wrote: > On Sun Aug 03 16:50:32 2014, coke wrote: > > On macosx/moar, I'm seeing the following failure: > > > > $ prove -v -e t/fudgeandrun t/spec/S32-io/IO-Socket-Async.t > > t/spec/S32-io/IO-Socket-Async.t .. > > 1..6 > > Unhandled exception in code scheduled

Re: [PSA] panda doesn't precompile modules anymore

2015-08-27 Thread Parrot Raiser
Single-purpose tools that can be used in a pipeline; what a concept! :-)* On 8/27/15, Tadeusz Sośnierz wrote: > This will probably impact quite a few people, so I thought I'll explain > myself here :) > > As of now, panda will not precompile Perl 6 code anymore. This will > introduce unexpected s

[perl #116527] [BUG] Mixing into a List causes it to be unprintable in Rakudo

2015-08-27 Thread Will Coleda via RT
On Wed Jan 23 06:47:55 2013, masak wrote: > <[Coke]> r: role c {}; my @a = 1,2,3,4; my $b = @a.pick(2) but c; say > $b.WHAT; say $b; > rakudo 388c1b: OUTPUT«List+{c}()␤elements() not implemented > in class 'Mu' [...] > r: my @a = 1,2,3,4; my $b = @a.pick(2); say $b.WHAT; say $b; > rakudo 388c1b:

[perl #111164] Cannot slice a Range that is bound to an array variable

2015-08-27 Thread Will Coleda via RT
On Sun Feb 08 22:55:34 2015, Mouq wrote: > Shouldn't it timeout, in this case? @a[0] is @a[1] is @a[3] is @a[7] > is @a[5]… > > On Tue May 29 17:16:40 2012, diakopter wrote: > > On Mon Feb 20 07:10:45 2012, moritz wrote: > > > 16:06 < moritz> nom: my @a := 1..*; @a := @a[1, 3 ... *].list > > > 16

[perl #77746] "[BUG] »,« doesn't produce a structure of parcels

2015-08-27 Thread Will Coleda via RT
On Sun May 26 00:30:48 2013, masak wrote: > coke (>): > > Behavior changed: > > > > [...] > > Behavior did change, but that eval contained a thinko. The new behavior > is this: > > r: my @a=;my @b=;for (@a »,« @b) »,« @a -> $a, $b, > $c {say "$a $b $c"} > rakudo 0e206e: OUTPUT«Lists on both

[perl #125908] [BUG] duplicate triggers of .act when using parallel greps on an IO::Notification.watch_path supply

2015-08-27 Thread via RT
# New Ticket Created by Erik Ferguson # Please include the string: [perl #125908] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125908 > When two greps are used in parallel on one supply produced by IO::Notification.watch_pa

[perl #125923] [BUG] .classify-list doesn't work with BagHash in Rakudo

2015-08-27 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #125923] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125923 > m: my %b := BagHash.new(); %b.classify-list( {.comb}, 20..40 ); say %b.perl rakudo-moar

[perl #114918] [GLR] infix: greatly slower than nested for loops

2015-08-27 Thread Will Coleda via RT
Tagging [GLR] as hopefully this will be improved enough to close with moar/GLR. -- Will "Coke" Coleda

[PSA] panda doesn't precompile modules anymore

2015-08-27 Thread Tadeusz Sośnierz
This will probably impact quite a few people, so I thought I'll explain myself here :) As of now, panda will not precompile Perl 6 code anymore. This will introduce unexpected slowness, for instance HTTP::UserAgent now takes 5.4 seconds to load instead of 0.8 on my machine. It may now sound

[perl #124543] Roast rakudo skip/todo test:./S03-operators/range.t line:26 reason: 'huh?'

2015-08-27 Thread Will Coleda via RT
The original test here was worthy of a "huh", removed it. Updated in roast's 646e60fd35 -- Will "Coke" Coleda

[perl #124542] Roast rakudo skip/todo test:./S03-operators/range.t line:22 reason: 'huh?'

2015-08-27 Thread Will Coleda via RT
The original test here was worthy of a "huh", removed it. Updated in roast's 646e60fd35 -- Will "Coke" Coleda

[perl #124205] [BUG] List.squish does not always return the first list element

2015-08-27 Thread Will Coleda via RT
On Sat Mar 28 16:15:48 2015, esteiner wrote: > According to its definition, squish should always return at least the > first list element in the result list, no matter what &with returns. > > Currently it can happen that squish returns an empty list if &with > returns true on the first comparison:

[perl #123760] [NYI] allow constant string argument in .comb in Rakudo

2015-08-27 Thread Will Coleda via RT
On Sun Feb 08 08:25:26 2015, masak wrote: > m: say "foo".comb(/o/) > rakudo-moar d9f58f: OUTPUT«o o␤» > m: say "foo".comb('o') > rakudo-moar d9f58f: OUTPUT«Cannot call 'comb' [...]» > * masak suggests the latter form work, too > reason: I saw some code I had written where I had a regex with >

[perl #125921] [BUG] "Cannot use variable to initialize itself" false positive

2015-08-27 Thread via RT
# New Ticket Created by Tobias Leich # Please include the string: [perl #125921] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125921 > m: my $py = 0 && try { my $py = 42; $py.bla() } rakudo-moar a7c845: OUTPUT«===SORRY!=== E

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-27 Thread Marc Chantreux
On Wed, Aug 26, 2015 at 02:00:09PM -0400, Brandon Allbery wrote: > > It used to be, but that was not according to spec. FROGGS++ implemented > > the lax mode, which is enabled by default in one-liners. Perhaps TimToady > > wants to invoke rule #2 on this. > > Personally, I use an alias that has ‘