[perl #128720] [JVM] sink context consumes Seq generated by mutator method

2016-08-09 Thread Christian Bartolomaeus via RT
On Sun Jul 24 01:22:23 2016, barto...@gmx.de wrote: > There are failing (skipped) tests for rakudo-j in S32-list/unique.t > and S32-list/repeated.t that fail with 'This Seq has already been > iterated, and its values consumed'. An example: > > $ ./perl6-j -e 'my $a = ; $a .= unique; say $a.perl'

Re: perl 6 for rhel?

2016-08-09 Thread ToddAndMargo
On 01/10/2016 11:02 PM, ToddAndMargo wrote: Hi All, Anyone know if Perl 6 will be available for Red Hat Enterprise Linux 7 any time soon? Many thanks, -T Any sign of movement on this at Red Hat? -- ~~ Computers are like air conditioners. They

Re: function name in a variable

2016-08-09 Thread Brandon Allbery
On Tue, Aug 9, 2016 at 3:49 AM, Theo van den Heuvel wrote: > I have string variable and want to execute a function with that name. How > do I call that function? > > sub bar { say "Hi" } > my $subname = 'bar'; > > # how to call the sub whose name I have? >

function name in a variable

2016-08-09 Thread Theo van den Heuvel
Hi all, I have seen this somewhere in the docs, but can't find it for the life of me. I have string variable and want to execute a function with that name. How do I call that function? sub bar { say "Hi" } my $subname = 'bar'; # how to call the sub whose name I have? "$name".();

[perl6/specs] 899560: Add v6d.pod, a place to track proposed language ch...

2016-08-09 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 899560e86ad0279925dd8beb80f108d319aa40fc https://github.com/perl6/specs/commit/899560e86ad0279925dd8beb80f108d319aa40fc Author: Moritz Lenz Date: 2016-08-09 (Tue, 09 Aug 2016)

[perl6/specs] 2e72b5: Display historical message based on and not...

2016-08-09 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 2e72b5d1d8f06674b14fef0ba818079eb9189436 https://github.com/perl6/specs/commit/2e72b5d1d8f06674b14fef0ba818079eb9189436 Author: Zoffix Znet Date: 2016-08-09 (Tue, 09

[perl6/specs] ce2925: Add: Signature/Attribute Defaults Based on Defined...

2016-08-09 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: ce29255b71b1a29334ab0028a678f83c3fc51ceb https://github.com/perl6/specs/commit/ce29255b71b1a29334ab0028a678f83c3fc51ceb Author: Zoffix Znet Date: 2016-08-09 (Tue, 09

[perl #128880] Dead code in HyperWhatever, 「.new」 is not supposed to work but it does (HyperWhatever.new)

2016-08-09 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #128880] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128880 > Let's look at the code in Rakudo! From src/core/Whatever.pm my

[perl #121940] [@LARRY] say True but False # should be 'True' (advent2010-day19)

2016-08-09 Thread David Warring via RT
The behavious still seems the same: % perl6 --v This is Rakudo version 2016.07.1-135-g77724b2 built on MoarVM version 2016.07-16-g85b6537 implementing Perl 6.c. % perl6 -e'my $s = False but True; say $s; say $s.so;' True True This is inconsistent with: % perl6 -e'my $s = 0 but True; say $s;

Re: [perl #128879] [LTA] “is default” trait is compile-time, but no warning is printed when I do stupid things (is default($x))

2016-08-09 Thread Elizabeth Mattijsen
$ 6 'BEGIN my $x = 42; my @a is default($x); say @a[1]' 42 It’s all a matter of needing a compile time value. $ 6 'constant $x = 42; my @a is default($x); say @a[1]' 42 Is another way of doing this. I’m not sure how we can actually fix the reported case, without breaking the above cases. If

[perl #128879] [LTA] “is default” trait is compile-time, but no warning is printed when I do stupid things (is default($x))

2016-08-09 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #128879] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128879 > Code: my $x = 42; my @a is default($x); say @a[1] Result: (Any)

[perl #128878] Supply.interval is drifting

2016-08-09 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #128878] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128878 > Code: Supply.interval(1).tap: {say (now - BEGIN now) % 1}; sleep ∞

[perl #122174] [BUG] Debugger crash!

2016-08-09 Thread Will Coleda via RT
On Wed Jul 27 10:44:19 2016, coke wrote: > On Tue Jun 24 05:34:19 2014, andynpar...@googlemail.com wrote: > > Hello! > > > > I am running a syntactically correct program, but the debugger fails > > giving a large call stack output; see attached. > > > > The Perl6 version

[perl #127879] [BUG] map subroutine ignores the sequence in the specific case

2016-08-09 Thread Larry Wall via RT
The unwanted() routine needed to add an explicit sink to certain methods found in a block-final Want node. (Method calls for dispatch:<.=> and Pair.new are exempt, however. In the case of .=, it is 'nosink' because it's essentially going to cause a side effect anyway, and doing it twice tends

[perl #128870] [SEGV] Pushing into the same array from two threads segfaults reliably

2016-08-09 Thread jn...@jnthn.net via RT
On Mon Aug 08 04:09:13 2016, elizabeth wrote: > As far as I understand Jonathan’s position on this, is that you > shouldn’t do that. Well, you shouldn't do it without concurrency control if you want correct results. But SEGV isn't an OK failure mode. So it wants addressing up to that point

[perl #121940] [@LARRY] say True but False # should be 'True' (advent2010-day19)

2016-08-09 Thread Will Coleda via RT
On Wed May 21 13:36:58 2014, david.warring wrote: > [08:09] r: my $value = True but False; say $value > [08:09] <+camelia> rakudo-jvm 196b4f: OUTPUT«(timeout)» > [08:09] <+camelia> ..rakudo-{parrot,moar} 196b4f: OUTPUT«False␤» > ... > [08:10] rakudo-jvm is all "WARNING. PARADOX. MUST OVERHEAT."

[perl #126818] [PRECOMP] on "is cached" subs: getlex: outer index out of range

2016-08-09 Thread Will Coleda via RT
On Mon Jan 18 21:22:44 2016, lloyd.fo...@gmail.com wrote: > This bug just hit me :\. It should go away with 'no precompilation'. > > I believe it's closely related to: > > https://rt.perl.org/Public/Bug/Display.html?id=125634 > > On Tue, Dec 8, 2015 at 2:43 AM Zoffix Znet