Re: [perl #125745] Custom infix:<~~> multi not used by rakudo

2015-08-03 Thread Moritz Lenz
Hi, On 04.08.2015 00:52, Faye (via RT) wrote: # New Ticket Created by Faye # Please include the string: [perl #125745] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125745 > m: class Foo { }; multi sub infix:<~~>(Foo $a, Fo

[perl #125745] Custom infix:<~~> multi not used by rakudo

2015-08-03 Thread via RT
# New Ticket Created by Faye # Please include the string: [perl #125745] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125745 > m: class Foo { }; multi sub infix:<~~>(Foo $a, Foo $b) { 42.6 }; say Foo.new ~~ Foo; say infix:

[perl #121145] LTA message for parrot in phaser

2015-08-03 Thread Christian Bartolomaeus via RT
< bartolin_> r: my $str; my $i = 0; while $i < 2 { LEAVE { last }; $i++; $str ~= ~$i; }; say $str; $str = ""; $i = 0; while $i < 2 { LEAVE { $str ~= "leaving" }; $i++; $str ~= ~$i; }; say $str <+camelia> rakudo-moar a38b59: OUTPUT«1␤1leaving2leaving␤» <+camelia> ..rakudo-jvm a38b59: OUTPUT«1␤

[perl #125611] [BUG] Set/Bag/KeySet/KeyBag no longer extendable

2015-08-03 Thread Christian Bartolomaeus via RT
Tests were added with commits f94e52b4, bb2d247c and 235a8c93. I'm closing this ticket as 'resolved'.

[perl #115270] [BUG] Segmentation fault for some code in Rakudo

2015-08-03 Thread Will Coleda via RT
On Tue Apr 14 13:00:36 2015, FROGGS.de wrote: > moar seems happy now: > > $ echo -e 'my \\a = any set <1 2 3>; \n say 1 ~~ a' | ./perl6-m > any(set(1, 2, 3)) > 0 > > JVM still broken here, I changed the REPL's ">" to "%" to not treat it > as a replied msg: > $ echo -e 'my \\a = any set <1 2 3>; \

[perl #121145] LTA message for parrot in phaser

2015-08-03 Thread Will Coleda via RT
On Mon Aug 03 13:00:39 2015, coke wrote: > On Sun Nov 23 00:48:59 2014, barto...@gmx.de wrote: > > Well, the error for rakudo.parrot is gone: > > > > $ perl6-p -e 'my $i=0; while $i < 3 { LEAVE { last }; say $i++; }' > > 0 > > > > But there is still something wrong with the LEAVE phaser in a while

[perl #121145] LTA message for parrot in phaser

2015-08-03 Thread Will Coleda via RT
On Sun Nov 23 00:48:59 2014, barto...@gmx.de wrote: > Well, the error for rakudo.parrot is gone: > > $ perl6-p -e 'my $i=0; while $i < 3 { LEAVE { last }; say $i++; }' > 0 > > But there is still something wrong with the LEAVE phaser in a while > statement. First, the above command has a different

[perl #116691] [BUG] Segmentation fault when string-repeating (infix:) ridiculously long strings in Rakudo

2015-08-03 Thread Will Coleda via RT
On Thu Apr 16 09:22:35 2015, FROGGS.de wrote: > On MoarVM we get an error message instead: > m: (1, 3, *x* ... 233)[1..4] > rakudo-moar 67df04: OUTPUT«===SORRY!===␤repeat count > 1073741824 > arbitrarily unsupported...␤» The JVM runs out of memory instead: 15:51 <[Coke]> r: (1, 3, *x* ... 233)[1.

[perl #125408] [BUG] CArray[num64] numiness optimised away

2015-08-03 Thread Will Coleda via RT
On Thu Jul 16 07:58:54 2015, jns...@gellyfish.co.uk wrote: > Canary test in for this, it passes. All good This test is failing on OS X, reopening ticket. This is perl6 version 2015.07.1-52-ga38b59c built on MoarVM version 2015.07-8-gb8fdeae -- Will "Coke" Coleda

Re: Is < > creating and Array or Parcel ?

2015-08-03 Thread Timo Paulssen
On 08/02/2015 02:35 PM, Lloyd Fournier wrote: > @a = $z[0].list > > or in a less documented way: > > @a = $z[0]<> > > The idea is that you can store an array in ether a @ or $ variable. > Where as in perl5 you could only store a reference in $ variable. The > sigil simply tells perl6 how it shoul

Re: user programming mistakes

2015-08-03 Thread Parrot Raiser
I think actually belongs under the "LTA error message" category. On 8/3/15, mt1957 wrote: > Hi, > > I there a way to prevent some type of mistake I now have made several > times merely because the error messages are not helping me to point to > the problem. > > Example; > >grammar Turtle::Gra

Re: Is < > creating and Array or Parcel ?

2015-08-03 Thread Marc Chantreux
On Sun, Aug 02, 2015 at 10:35:23PM +1000, Lloyd Fournier wrote: > If you want to assign to an array which is an element of another array: > > @a = $z[0].list this is very confusing because this is not a LoL. $z.flat seems more intuitive to me. -- Marc Chantreux (eiro on github and freenode) htt

Re: Is < > creating and Array or Parcel ?

2015-08-03 Thread Richard Hainsworth
Having followed Perl6 from its inception, it is good to see Christmas will be coming this year :) Richard On 08/03/2015 08:49 AM, Larry Wall wrote: On Sun, Aug 02, 2015 at 03:09:07PM +0200, Moritz Lenz wrote: : If you want to extract it from the scalar, use the @ again, this : time as a prefi

Re: Is < > creating and Array or Parcel ?

2015-08-03 Thread Lloyd Fournier
Non expert opinion here. my $z = ['a', 'b', 'c']; Is a real array. The difference is that is in a non-auto flattening container (variable). If you want to iterate over it you can: for @$z { ... } # like perl5 If you want to assign it to @ array then do the same thing @a = @$z. If you want to a

Re: [perl #125437] attributive parameters alter object during any bind, not just invoke

2015-08-03 Thread bri
Please also see the conversation at: http://irclog.perlgeek.de/perl6/2015-08-02#i_10992867 ...when deciding how to fix this one.

[perl6/specs] e2ee78: Fix a copy-paste that had left hash example with w...

2015-08-03 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: e2ee78992a0beac8a2ff5143b7cf3150dd83602c https://github.com/perl6/specs/commit/e2ee78992a0beac8a2ff5143b7cf3150dd83602c Author: skids Date: 2015-08-03 (Mon, 03 Aug 2015) Changed paths: M S02-bits.pod

user programming mistakes

2015-08-03 Thread mt1957
Hi, I there a way to prevent some type of mistake I now have made several times merely because the error messages are not helping me to point to the problem. Example; grammar Turtle::Grammar { rule TOP { * } ... rule directive { | } ... rule base { '@base'*

Re: Is < > creating and Array or Parcel ?

2015-08-03 Thread Gabor Szabo
On Mon, Aug 3, 2015 at 3:49 AM, Larry Wall wrote: > On Sun, Aug 02, 2015 at 03:09:07PM +0200, Moritz Lenz wrote: > : If you want to extract it from the scalar, use the @ again, this > : time as a prefix: > : > : for @$s { } # two iterations again. > > Note that this distinction will go away after