Re: A suggestion about parrot sugar

2010-06-25 Thread Patrick R. Michaud
On Fri, Jun 25, 2010 at 06:31:57AM +, Xi Yang wrote: > > For example: "use parrot Foo::Bar", which would load parrot > library under Foo/Bar. However, this would be easy and useful > for rakudo, but would not for other possible Perl6 implementations. > I

[perl #66816] tests available

2010-06-25 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S05-substitution/subst.t commit 14f573cb19cc83439e8b70117484b058fd03e2a3 Author: bbkr Date: Fri Jun 25 14:47:38 2010 + [t/spec/S05-substitution/subst.t] tests for RT #66816 Zero-width substit

[perl #76056] [BUG] unhelpful message triggered by a p5-ism

2010-06-25 Thread via RT
# New Ticket Created by Stephane Payrard # Please include the string: [perl #76056] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76056 > > for 0 { when ARRAY {} } Missing block at line 1, near "}\n" The problem : ARRAY

[perl #76068] Re: [BUG] $_ as a lhs not handled correctly in a given/when

2010-06-25 Thread via RT
# New Ticket Created by Stephane Payrard # Please include the string: [perl #76068] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76068 > The bug is unrelated to the when construct but is related to the handling of iterati

Berkeley Orders Of Magnitude project

2010-06-25 Thread Tim Bunce
This struck me as interesting... http://highscalability.com/blog/2010/6/18/paper-the-declarative-imperative-experiences-and-conjectures.html "The Declarative Imperative: Experiences and Conjectures in Distributed Logic" http://www.eecs.berkeley.edu/Pubs/TechRpts/2010/EECS-2010-90.pdf Tim.

Re: [perl #76068] AutoReply: Re: [BUG] $_ as a lhs not handled correctly in a given/when

2010-06-25 Thread Stéphane Payrard
Seeing the generated code for for 1 -> $a { } The code concerning $_ seems spurious because there is an explicit parameter $a. It seems that a unneeded call to add_implicit_var is made in Actions.pm that causes this code to be generated. Will track further tomorrow if jonathan++ does not beat m

[perl #76060] [BUG] $_ as a lhs not handled correctly in a given/when

2010-06-25 Thread via RT
# New Ticket Created by Stephane Payrard # Please include the string: [perl #76060] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76060 > $_=1; for 11..12 -> $a { when 1 { say "1 : $_"; $_=2 } when * { say "* : $_ " } }

[perl #76048] [TODO] Implement Str.rindex and &rindex... again... in Rakudo

2010-06-25 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76048] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76048 > rakudo: say "abcdefabc".rindex("b") rakudo 11cbd4: OUTPUT«Method 'rindex' not found fo

[perl #76046] [BUG] Can't use &[+] in infix:<...> series in Rakudo

2010-06-25 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76046] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76046 > rakudo: say ~(1, 1, &[+] ... *)[^10] rakudo 11cbd4: OUTPUT«get_attr_str() not implemen

Re: very basic type checking

2010-06-25 Thread Moritz Lenz
Hi, Am 23.06.2010 13:59, schrieb Hiroki Horiuchi: I asked the same question to #perl6. But now I think it was a wrong place. no, you had the bad luck of asking at a time when nobody was around. My question is: In current Rakudo, my Int $i = '123'; causes a runtime error, not a compile time e