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
# 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
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
# 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([
# 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 {
# 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'