Re: Learning to Grok Rakudo Perl6/Grammar.pm (was: unexpected failure with trailing white space in use)

2010-07-13 Thread Patrick R. Michaud
On Mon, Jul 12, 2010 at 09:26:15PM -0400, Todd Olson wrote: > Question: Can Rakudo show its steps in applying the Perl6 grammer >to a Perl6 program similar to "use re 'debug'" in Perl5? You can add a subrule somewhere in the grammar. When the grammar engine hits that subrule, it ena

[perl #76482] Any.WHAT.Str is screwed up

2010-07-13 Thread via RT
# New Ticket Created by jn...@jnthn.net # Please include the string: [perl #76482] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76482 > Oh wtf... 01:04 <@jnthn> rakudo: my $foo; say $foo.WHAT 01:04 < p6eval> rakudo 94d01

Re: [perl #76486] [Bug] Multiple dispatch mechanism apparently does not descend into inner signatures

2010-07-13 Thread Moritz Lenz
Am 13.07.2010 02:13, schrieb Stephane Payrard (via RT): $ cat mmd.pm6 multi sub a([]) { say "[]" } multi sub a([$i]) { say "[$i]" } a(); a([1]); $ perl6 mmd.pm6 No applicable candidates found to dispatch to for 'a'. Available candidates are: :(Positional ()) :(Positional (Any $i)) in main p

[perl #76486] [Bug] Multiple dispatch mechanism apparently does not descend into inner signatures

2010-07-13 Thread via RT
# New Ticket Created by Stephane Payrard # Please include the string: [perl #76486] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76486 > $ cat mmd.pm6 multi sub a([]) { say "[]" } multi sub a([$i]) { say "[$i]" } a(); a([

[perl #76476] monkey-typed method new is not called

2010-07-13 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #76476] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76476 > 19:13 <@jnthn> rakudo: use MONKEY_TYPING; class Foo { }; augment class Foo {

[perl #76472] say doesn't work in role method

2010-07-13 Thread via RT
# New Ticket Created by Paweł Pabian # Please include the string: [perl #76472] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76472 > WORKS: $ perl6 -e 'role Foo { method foo {666.say;}; }; class A does Foo {}; A.new.foo'