Re: unusual invocants

2009-10-21 Thread Ovid
- Original Message > From: TSa (Thomas Sandlaß) > > >> So what the OP wants to do is declare a method that is available on > > >> all those invocants - and only those invocatnts - which do all of > > >> roles X, Y, and Z. Granted, you can declare a new role XandYandZ > > >> that does X

r28868 - docs/Perl6/Spec

2009-10-21 Thread pugs-commits
Author: moritz Date: 2009-10-21 09:55:53 +0200 (Wed, 21 Oct 2009) New Revision: 28868 Modified: docs/Perl6/Spec/S06-routines.pod Log: [S06] more consistency on name collisions in signatures, masak++ Modified: docs/Perl6/Spec/S06-routines.pod

r28870 - docs/Perl6/Spec

2009-10-21 Thread pugs-commits
Author: masak Date: 2009-10-21 10:50:10 +0200 (Wed, 21 Oct 2009) New Revision: 28870 Modified: docs/Perl6/Spec/S06-routines.pod Log: [S06] third attempt at describing elusive name collision Modified: docs/Perl6/Spec/S06-routines.pod =

Re: unusual invocants

2009-10-21 Thread Mark J. Reed
On Wed, Oct 21, 2009 at 3:47 AM, Ovid wrote: > I was asking the special case where: > > 1. A class consumes two (or more) roles > 2. Each roles provides a method with an identical signature > 3. The methods are not equivalent and neither role can rely on the other's > method > > > With that, you

Re: unusual invocants

2009-10-21 Thread Jonathan Worthington
Ovid wrote: I was asking the special case where: 1. A class consumes two (or more) roles 2. Each roles provides a method with an identical signature 3. The methods are not equivalent and neither role can rely on the other's method With that, you have roles which cannot be composed. You must

Re: unusual invocants

2009-10-21 Thread Jon Lang
Jonathan Worthington wrote: > Ovid wrote: >> >> I was asking the special case where: >> >> 1. A class consumes two (or more) roles >> 2. Each roles provides a method with an identical signature >> 3. The methods are not equivalent and neither role can rely on the other's >> method >> >>  With that,

Parrot 1.7.0 "African Grey" Released!

2009-10-21 Thread Jonathan Leto
Come, let us hasten to a higher plane Where dyads tread the fairy fields of Venn, Their indices bedecked from one to ''n'' Commingled in an endless Markov chain! I'll grant thee random access to my heart, Thou'lt tell me all the constants of thy love; And

Re: unusual invocants

2009-10-21 Thread TSa
HaloO, Jon Lang wrote: I have some more thoughts on this; but I'm on a time crunch at the moment, and would really like to get some feedback on the above before proceeding further: have I missed anything in my reasoning? I fully understand what you mean, I hope. But note that all instances of

Re: unusual invocants

2009-10-21 Thread Jon Lang
TSa wrote: > Jon Lang wrote: >> >> I have some more thoughts on this; but I'm on a time crunch at the >> moment, and would really like to get some feedback on the above before >> proceeding further: have I missed anything in my reasoning? > > I fully understand what you mean, I hope. But note that

Re: unusual invocants

2009-10-21 Thread TSa (Thomas Sandlaß)
HaloO, On Wednesday, 21. October 2009 12:40:06 Mark J. Reed wrote: > Rather than disallow the composition, I'd say that any class, role, or > object that does both roles must override the method in question. The problem that Ovid posed needs to be resolved in the dispatch tables seen in certain m