On Mar 7, 2010, at 09:42 , pugs-comm...@feather.perl6.nl wrote:
+has $!age is ref; # BUILD will automatically use ref binding,
not copy
Perl6 isn't done until it has reinvented Algol 68?
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com
system administrator [o
Jon Lang wrote:
Moritz Lenz wrote:
Please take a look at http://rt.perl.org/rt3/Ticket/Display.html?id=73356:
rakudo: say max(1..5)
rakudo c05478: OUTPUT«-Inf»
* masak submits rakudobug for max(1..5)
The weird thing is that it is right, according to the current spec. It says
our multi max
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #73356]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73356 >
rakudo: say max(1..5)
rakudo c05478: OUTPUT«-Inf»
* masak submits rakudobug for max(1
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #73396]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73396 >
rakudo: say Perl6::Compiler.compile('say 42').WHAT
rakudo e9c185: OUTPUT«Null PMC acce
# New Ticket Created by Martin Kjeldsen
# Please include the string: [perl #73392]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73392 >
It's done by grabing one part of the frac at a time instead of just trying to
deal w
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #73400]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73400 >
rakudo: my $i = 0; $i++ for \[1,2,3]; say $i;
rakudo d32a0c: OUTPUT«Method 'iterator'
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #73384]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73384 >
rakudo: my $a = 10; $a &&= 11; say $a
rakudo 54be6d: OUTPUT«Null PMC access in invoke(
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #73346]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73346 >
rakudo: my @a; say @a.list
rakudo 974d9a: OUTPUT«Null PMC access in elements()current
Moritz Lenz wrote:
> Please take a look at http://rt.perl.org/rt3/Ticket/Display.html?id=73356:
>
> rakudo: say max(1..5)
> rakudo c05478: OUTPUT«-Inf»
> * masak submits rakudobug for max(1..5)
>
> The weird thing is that it is right, according to the current spec. It says
>
> our multi max( Or
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #73354]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73354 >
This be Rakudo 37e574683ed0c55ca1155bf78a9ace7c2e7a3c6a
$ perl6 -e '(1 | 2 ) < 3'
curren
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #73398]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73398 >
rakudo: my $i = 0; $i++ for [1,2,3]; say $i;
rakudo d32a0c: OUTPUT«3»
alpha: my $i =
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #73328]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73328 >
rakudo: package foo { our package bar; say bar; }
rakudo b348b3: OUTPUT«bar»
std: pa
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #73390]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73390 >
rakudo: role A { class B {} }
* masak submits rakudobug
jnthn++ expected the above to
# New Ticket Created by Martin Kjeldsen
# Please include the string: [perl #73388]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73388 >
This transaction appears to have no content
0001-Use-numbers-in-number-context-so-th
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #73386]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73386 >
rakudo: say 3 !+ 4
rakudo 125e87: OUTPUT«0»
rakudo: say 3 !+ -3
rakudo 125e87: OUTP
On Fri Feb 19 15:51:56 2010, masak wrote:
> rakudo: [].WHAT.say
> rakudo 3b869c: OUTPUT«Null PMC access in elements() [...]
> Eww. That one. :-/
> * masak submits rakudobug
> I thought I'd fixed that :-|
> 'pparently not
Fixed now.
> [].WHAT.say
Array()
Needs tests.
Thanks,
Jonathan
On Sat, 2010-03-06 at 07:52 -0800, Martin Kjeldsen wrote:
> +if $str ~~ /\x0a$/ {
> +$str = $str.substr(0, $str.chars - 1);
Unless newlines are being canonicalized elsewhere, this seems
*nix-specific.
(Sorry I haven't researched further, this just caught my eye in pass
Please take a look at http://rt.perl.org/rt3/Ticket/Display.html?id=73356:
rakudo: say max(1..5)
rakudo c05478: OUTPUT«-Inf»
* masak submits rakudobug for max(1..5)
The weird thing is that it is right, according to the current spec. It says
our multi max( Ordering @by, *...@values )
our mu
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #73368]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73368 >
rakudo: class A { has $.b = my $foo = 42; method x { say $foo
} } A.new.x
[23:17]
raku
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #73352]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73352 >
Rakudo 2d9808d19ba45c09f61a4c6fc4b4b7159ea760cc:
$ cat foo.pl
my $x;
so $x = 1;
$ ./per
# New Ticket Created by Martin Kjeldsen
# Please include the string: [perl #73350]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73350 >
A patch which adds p5chomp and adds p5chomp and p5chop to tests
0001-Add-p5chomp-co
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #73344]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73344 >
when I write 'our sub foo', the scope of the parameters in the
signature of foo is a gl
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #73326]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73326 >
rakudo: say ~\(1;2;3) # masakbot
rakudo b348b3: OUTPUT«maximum recursion depth exceede
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #73322]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=73322 >
btw, masak:
rakudo: say ~(1, 2, 3)
rakudo d4be43: OUTPUT«3»
already reported?
o.O
Author: masak
Date: 2010-03-07 16:40:03 +0100 (Sun, 07 Mar 2010)
New Revision: 29979
Modified:
docs/Perl6/Spec/S12-objects.pod
Log:
[S12] s/values/symbols/
Modified: docs/Perl6/Spec/S12-objects.pod
===
--- docs/Perl6/Spec/S12-obje
Hi Bruce,
Bruce Keeler (via RT) wrote:
> The attached patch is also available in the 'grammar' branch of my
> github fork (bkeeler/rakudo). I'll keep that branch up to date to make
> sure it applies cleanly.
Thank you very much for your great work; I've merged it from the github
branch (as com
Author: lwall
Date: 2010-03-07 15:42:59 +0100 (Sun, 07 Mar 2010)
New Revision: 29976
Modified:
docs/Perl6/Spec/S06-routines.pod
docs/Perl6/Spec/S12-objects.pod
Log:
[S06,S12] make attributive parameters default to 'is copy' binding
make easy way for an attribute to override this with 'is ref
27 matches
Mail list logo