diff --git a/src/subs-n-sigs.pod b/src/subs-n-sigs.pod
index b6a91cb..128f1ae 100644
--- a/src/subs-n-sigs.pod
+++ b/src/subs-n-sigs.pod
@@ -141,7 +141,7 @@ variables in your signature are read-only references to the
passed arguments.
You cannot modify them passed-in values within the subroutine
I still have several points unclear, this is my sample:
###
class Base {
method toHash() {
return {};
}
}
role FooBar {
has $.foo is rw;
has $.bar is rw;
toHash.wrap({
my $hash = callsame();
$hash = $self.foo;
Very subtle implementation, I'm trying to understand those things. Thanks!
> Date: Sun, 20 Jun 2010 13:53:59 +0200
> From: mor...@faui2k3.org
> To: jianding...@msn.com
> CC: perl6-us...@perl.org
> Subject: Re: Two questions on Perl 6 functionality
>
>
>
> Xi Yang wrote:
> > You might mis-unders
First off, I again have to caution that this thread is conflating
"open" with filesystem interaction. While open is one of many ways of
interacting with a filesystem, it isn't even remotely sufficient (nor
my immediate focus). One can ask for and modify filesystem metadata,
security information, an
On Thu Sep 24 13:56:16 2009, moritz wrote:
> 22:53 <@moritz_> rakudo: say (*-3).signature.perl
> 22:53 <+p6eval> rakudo 0eaf62: OUTPUT«undef»
> 22:54 <@moritz_> rakudo: say (-> $x { $x - 3 }).signature.perl
> 22:54 <+p6eval> rakudo 0eaf62: OUTPUT«:(Object $x)»
>
> I'd expect those two things to
This is an automatically generated mail to inform you that tests are now
available in t/spec/S12-introspection/walk.t
commit cc81d63c2c6fd91dd85c16c45c0862fd2a26f040
Author: jnthn
Date: Sun Jun 20 11:52:34 2010 +
[t/spec] Add a test for RT#66330 to walk.t. Also tweak a couple of tests
You might mis-understood method modifiers. I mean:
before x()
after x()
around x()
> Date: Sun, 20 Jun 2010 12:17:46 +0200
> From: mor...@faui2k3.org
> To: jianding...@msn.com
> CC: perl6-us...@perl.org
> Subject: Re: Two questions on Perl 6 functionality
>
> Hi,
>
> Xi Yang wrote:
> > 1:
On Sat Jun 12 13:42:18 2010, maard wrote:
> created during today's hackmeet with Jonathan Worthington.
> attached patch (including handles2.t) partially solves the problem (by
> adding add_handles_method method to the core). current problem is: it
> seems that handler attributes don't get passed to
I noticed that there were no tests for the "Lexical Conventions"
section of S02, so I tried my hand at writing some. Unfortunately,
many of them are failing, and I'm new enough to writing Perl 6 tests
that I'm not sure if this is the compiler failing to match the spec or
me failing to write tests ;
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #75872]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75872 >
12:11 <@moritz_> rakudo: class A { multi method b($x where { 0 } ) { }
}; A.new.b(4)
12:1
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #75852]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75852 >
$ cat A/B.pm
class A::B {}
$ perl6 -e 'use A::B; class A {}'
===SORRY!===
Illegal redec
On Thu Jun 17 14:12:21 2010, cognominal wrote:
> From 7aab67d352ef4b6688d8ce9d11413825dc8ab3ec Mon Sep 17 00:00:00 2001
> From: Stephane cognominal Payrard
> Date: Thu, 17 Jun 2010 22:47:00 +0200
> Subject: [PATCH] Adding support for Capture.perl method
>
> ---
> build/Makefile.in |1 +
>
On Thu, 2010-06-10 at 21:17 -0400, Brandon S. Allbery KF8NH wrote:
> On Jun 10, 2010, at 07:22 , Leon Timmermans wrote:
> > I agree it should be similar to normal FS interactoin to make matters
> > as intuitive as possible, but I horrified by the idea of overloading
> > open() that way. That's a P
On Thu Jun 17 02:24:10 2010, masak wrote:
> rakudo: role A[$x, $y] { method x { say $x + $y } }; A[4,
5].new.x
> rakudo 012ea2: OUTPUT«No applicable candidates found to
> dispatch to for '_block52'. Available candidates are::(Mu $x, Mu
> $y) in main program body at line 1»
> ...wtf?
> * mas
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #75874]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75874 >
$b!SomeClass::xyz - would that not conflict with calling a
private method in a particul
On Thu Jun 17 08:47:54 2010, masak wrote:
> 5 but 'string' is the same as 5 but (role { method Str() {
> 'string'} }), 5 but True is 5 but (role { method Bool() { True } })
> rakudo: say ('foo' but 5) ~~ Real
> rakudo 17e43e: OUTPUT«0»
> rakudo: say ('foo' but Real) ~~ Real
> rakudo 17e43e: O
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #75868]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75868 >
./perl6 -e 'my %h = a => 1; "a" ~~ /./; say %h{$/}'
maximum recursion depth exceeded
in
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #75858]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75858 >
std: class A { has Int $.color where 1|2; }
std 31360: OUTPUT«===SORRY!===Two term
18 matches
Mail list logo