Author: diakopter
Date: 2010-06-22 03:17:22 +0200 (Tue, 22 Jun 2010)
New Revision: 31405
Modified:
docs/Perl6/Spec/S12-objects.pod
Log:
[S12] verbo
Modified: docs/Perl6/Spec/S12-objects.pod
===
--- docs/Perl6/Spec/S12-objects.pod
Author: diakopter
Date: 2010-06-22 03:14:30 +0200 (Tue, 22 Jun 2010)
New Revision: 31404
Modified:
docs/Perl6/Spec/S12-objects.pod
Log:
[S12] sppelo
Modified: docs/Perl6/Spec/S12-objects.pod
===
--- docs/Perl6/Spec/S12-objects.pod
Warning on using any list-y op on a scalar seems like a good idea, and
the fact that the idea arose after a perl5 misunderstanding now looks
like a "red herring". That is, while warning on "only"
reverse-on-a-scalar may be a bad idea and perl5 specific, I'd vote for
warning on all apparent mis-uses
On Mon, Jun 21, 2010 at 10:47, Smylers wrote:
> Larry Wall writes:
>
> > On Fri, Jun 18, 2010 at 11:21:52AM +0200, Jan Ingvoldstad wrote:
> >
> > : On Fri, Jun 18, 2010 at 11:15, Smylers wrote:
> > :
> > : > For the benefit of Perl 5 programmers used to string reverse it
> > : > would be nice to
On Mon, Jun 21, 2010 at 09:47:37AM +0100, Smylers wrote:
> Larry Wall writes:
> > On Fri, Jun 18, 2010 at 11:21:52AM +0200, Jan Ingvoldstad wrote:
> > : On Fri, Jun 18, 2010 at 11:15, Smylers wrote:
> > :
> > : > For the benefit of Perl 5 programmers used to string reverse it
> > : > would be nic
Xi Yang wrote:
> You might mis-understood method modifiers. I mean:
> before x()
> after x()
> around x()
>
In Perl 6, you do that with wrapping:
http://perlcabal.org/syn/S06.html#Wrapping
Cheers,
Moritz
On Thu Jun 17 18:08:32 2010, Whiteknight wrote:
> Here's a patch to make Rakudo build on current Parrot after the
> ns_func_cleanup branch (r47678).
>
Applied by moritz++, thanks.
Jonathan
On Sat May 22 07:47:38 2010, masak wrote:
> rakudo: class A {has $.a; has @.m; method foo { for $.a
> .. 5 { say @.m[$_] }}}; my A $x.=new(:a(2.0),:m(1,2,3,4,5));$x.foo
> rakudo 9a15b8: OUTPUT«No applicable candidates found to
> dispatch to for 'postcircumfix:<[ ]>'. Available candidates are::(M
Larry Wall writes:
> On Fri, Jun 18, 2010 at 11:21:52AM +0200, Jan Ingvoldstad wrote:
>
> : On Fri, Jun 18, 2010 at 11:15, Smylers wrote:
> :
> : > For the benefit of Perl 5 programmers used to string reverse it
> : > would be nice to have a warning if reverse is invoked with exactly
> : > one
# New Ticket Created by jn...@jnthn.net
# Please include the string: [perl #75900]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75900 >
This may, or may not, be a case of the closures bug, but:
use v6;
my @my-array = 4,
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #75896]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75896 >
rakudo: my Array of Int @box
rakudo ee7620: OUTPUT«Method '!select' not found for invo
On Thu Aug 06 07:58:37 2009, masak wrote:
> rakudo: 1.WALK(:name,:descendant)
> rakudo 6ba717: OUTPUT«Parameter type check failed; expected
> Any, but got Object for $class in call to block_86 [...]
>
> This is a golfed-down example of the error that currently causes
> t/spec/S12-introspection/w
Hi,
Xi Yang wrote:
> 1: Does Perl 6 has method modifiers like those in Moose?
Perl 6 has traits, so you can write for example
class A {
method x() is rw { ...}
}
to indicate that it's an lvalue routine (though I don't think it's
implemented in Rakudo yet).
> Where can I get the doc about t
On Fri Jun 05 03:05:41 2009, masak wrote:
> rakudo: my ($meth) = Grammar.WALK(:name);
> $meth(Perl6::Grammar.new, '42')
> rakudo 10a9b2: OUTPUT«Null PMC access in find_method()in
> method Perl6Object::WALK (src/gen_setting.pm:3207) [...]
> Eww.
> OK, oddness.
> * masak submits rakudobug
> aah
On Thu May 27 10:52:50 2010, masak wrote:
> rakudo: class A { has @.contents handles }; say
> A.new(:contents(1, 2, 3)).elems
> rakudo e40ee4: OUTPUT«1»
> * masak submits rakudobug
> masak: handles nyi
> it used to be i :(
> hm, perhaps an example with a method not already in Any would
> be
Thanks for the patch, I've applied it.
If you have a github ID, please tell me what it is -- I can add you as a
committer to the book, so that you can apply such fixes directly in future.
Cheers,
Moritz
16 matches
Mail list logo