[perl #76978] [BUG] The &mkdir built-in has the wrong default mode in Rakudo

2010-08-03 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76978] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76978 > the &mkdir builtin creates a directory with mode 000 per default. do we really have the

[perl #76948] Loading the same module multiple times is probably broken

2010-08-03 Thread via RT
# New Ticket Created by Mulander # Please include the string: [perl #76948] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76948 > mulan...@bunkier_mysli:~/rakudo/rakudo-star-2010.07$ ./perl6 --version This is Rakudo Perl

Performance: ... vs ..

2010-08-03 Thread Aaron Sherman
I know that Rakudo isn't well tuned for performance right now, but this is still probably worth noting because it's such a specific difference between two similar ways of doing one task. The recent thread about "..." and ".." had me doing some testing and I noticed that ".." seems to be radically

Re: Perl 6 User Documentation

2010-08-03 Thread Jonathan Leto
Howdy, > Attached are a 3 very initial (skeletal in nature) Perl 6 .pod > documents, based loosely on the Perl 5 documentation. It is my > understanding that currently there is no P6-Pod reader e.g. "perl6doc" > so these are actually written in P5-POD, but the intent is to > eventually of course t

Re: Smart match isn't on Bool

2010-08-03 Thread Martin D Kealey
On the one hand, I've had 25 years of being annoyed about the idiom if foo() == True ... So I'd be delighted if P6 were to treat that case as a fatal compile-time error. And given that "==" are "!=" are just funny ways of writing "!xor" and "xor", that prohibition could reasonably be ext

Re: Smart match isn't on Bool

2010-08-03 Thread David Green
On 2010-08-02, at 2:35 pm, TSa (Thomas Sandlaß) wrote: > On Monday, 2. August 2010 20:02:40 Mark J. Reed wrote: >> [...] it's at least surprising. I'd expect (anything ~~ True) to be >> synonymous with ?(anything) > Note also that ($anything ~~ foo()) just throws away $anything. No; only if foo(

Smoker cooling off?

2010-08-03 Thread yary
http://smolder.plusthree.com/ seems to be down- are smoke tests still being collected? -y

[perl #65994] Fakexecutable is not working anymore in latest rakudo/parrot

2010-08-03 Thread Patrick R. Michaud via RT
Now working in 51cc37: pmich...@plum:~/rakudo$ ./perl6 --target=PIR hello.p6 >hello.pir pmich...@plum:~/rakudo$ parrot_install/bin/parrot -o hello.pbc hello.pir pmich...@plum:~/rakudo$ parrot_install/bin/pbc_to_exe hello.pbc cc -o hello.o -I/home/pmichaud/rakudo/parrot_install/include/2.6.0-devel

[perl #65994] Fakexecutable is not working anymore in latest rakudo/parrot

2010-08-03 Thread Patrick R. Michaud via RT
Now working in 51cc37: pmich...@plum:~/rakudo$ ./perl6 --target=PIR hello.p6 >hello.pir pmich...@plum:~/rakudo$ parrot_install/bin/parrot -o hello.pbc hello.pir pmich...@plum:~/rakudo$ parrot_install/bin/pbc_to_exe hello.pbc cc -o hello.o -I/home/pmichaud/rakudo/parrot_install/include/2.6.0-devel

[perl #76960] Rakudo does not allows lexical overrides of attributes

2010-08-03 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #76960] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76960 > 17:54 < moritz_> rakudo: class A { has $b; method new { my $b = 3; say $b } }; A.new() 1

[perl #72946] tests available

2010-08-03 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S04-declarations/my.t commit 09af872d08dccd39998758c0ed5ae7e3cd9f37b2 Author: bbkr Date: Tue Aug 3 14:54:41 2010 + [t/spec] tests for RT #72946 Rakudo doesnt allow declaration of anonymous va

[perl #76956] [BUG] LTA error message when using placeholder variable outside of a block in Rakudo

2010-08-03 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76956] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76956 > patch: $^vars are for self-declared parameters, so ... yes only in blocks without a si

[perl #73808] tests available

2010-08-03 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S12-class/attributes.t commit ba2c034ba3a2cc8f3ad6a53cc66328cb12dbe81e Author: bbkr Date: Tue Aug 3 13:23:13 2010 + [t/spec] tests for RT #73808 Providing a list of attributes to a single "ha

[perl #76950] [BUG] infix:<..^> does the Wrong Thing if the rhs is an Array in Rakudo

2010-08-03 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76950] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76950 > rakudo: my @a = 1, 2, 3, 4, 5; for 1 ..^ +...@a { .say } rakudo 0a8ef0: OUTPUT«1␤2␤3␤4

[perl #74104] tests available

2010-08-03 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S06-operator-overloading/sub.t commit 0dfc369d60e934bfaa91de967f58e5d4d12198be Author: bbkr Date: Tue Aug 3 12:53:29 2010 + [t/spec] tests for RT #74104 overloading an operator hides other can

[perl #74410] tests available

2010-08-03 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S06-signature/slurpy-params.t commit c5d5e34edb598ce84b0858855707ca20fbeabf94 Author: bbkr Date: Tue Aug 3 12:41:02 2010 + [t/spec] tests for RT #74410 The combination of prefix:<+> and slurpy

Re: Natural Language and Perl 6

2010-08-03 Thread Timothy S. Nelson
On Tue, 3 Aug 2010, Carl Mäsak wrote: Jason (>): No specific tool is best suited for natural language processing. There was apparently a time in which everyone thought that a formal grammar could clearly define any natural language, but I don't think anyone succeeded at creating a complete form

[perl #73236] tests available

2010-08-03 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S02-literals/numeric.t commit 806c7d7a2efa5235bb9ee53d0d0a60a7ebe94a74 Author: bbkr Date: Tue Aug 3 11:59:02 2010 + [t/spec] tests for RT #73236 LTA error messages on literals with too many d

[perl #76946] [BUG] [WEIRD] Internal Parrot on running Any .= () in Rakudo

2010-08-03 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76946] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76946 > rakudo: $_ .= () rakudo 0a8ef0: OUTPUT«./src/pmc/object.pmc:185: failed assertion 'nam

Re: Breaking encapsulation by detaching a private-variable-accessing method from one object and calling it on another

2010-08-03 Thread Carl Mäsak
jnthn++ points out in meatspace that the invocant parameter has a constraint (by spec but not in Rakudo), which will carry over to the new class. Which means that only objects of child classes will signature-bind anyway. // Carl

Re: Breaking encapsulation by detaching a private-variable-accessing method from one object and calling it on another

2010-08-03 Thread Michael Zedeler
On 2010-07-31 20:23, Carl Mäsak wrote: * Today we discovered that it's possible to break encapsulation by detaching a method from an object of one class, and calling that method on an object of another class. Which means that breaking the encapsulation of a foreign class is as easy as creating a