Re: [pugs-commits] r25698 - docs/Perl6/Spec/S32-setting-library

2009-03-06 Thread Daniel Ruoso
Em Sex, 2009-03-06 às 18:51 +0100, TSa escreveu: > I know that the use of 'is also' is called monkey patching but I can't > understand why this is regarded as a bad thing. Having a class assembled > from multiple modules is a rather normal affair. You're describing Roles here, which is something y

Re: [pugs-commits] r25698 - docs/Perl6/Spec/S32-setting-library

2009-03-06 Thread TSa
HaloO, Larry Wall wrote: Although, interestingly, if the method is exported as a multi it should automatically add in the current role or class as a constraint on the (former) invocant so that multi dispatch will not overgeneralize. I would expect class Foo { method bar {...}

Re: [pugs-commits] r25698 - docs/Perl6/Spec/S32-setting-library

2009-03-06 Thread Larry Wall
On Fri, Mar 06, 2009 at 12:15:18PM +1100, Timothy S. Nelson wrote: > On Thu, 5 Mar 2009, Patrick R. Michaud wrote: >> Also, I personally would prefer to not see explicit typing >> on the invocants to most methods. > > Agreed. I wonder what I was thinking :). Although, interestingly, if the

Re: [pugs-commits] r25698 - docs/Perl6/Spec/S32-setting-library

2009-03-05 Thread Timothy S. Nelson
On Thu, 5 Mar 2009, Patrick R. Michaud wrote: Log: - Moved "defined" and "undefined" from Scalar.pod to Any.pod, as per signature ... +=item defined + + our Bool multi defined ( Any $thing ) + our Bool multi defined ( Any $thing, ::role ) + our Bool multi method defined ( A

Re: [pugs-commits] r25698 - docs/Perl6/Spec/S32-setting-library

2009-03-05 Thread Patrick R. Michaud
> Log: > - Moved "defined" and "undefined" from Scalar.pod to Any.pod, as per > signature > ... > +=item defined > + > + our Bool multi defined ( Any $thing ) > + our Bool multi defined ( Any $thing, ::role ) > + our Bool multi method defined ( Any $self) > + our Bool multi method defined

r25698 - docs/Perl6/Spec/S32-setting-library

2009-03-04 Thread pugs-commits
Author: wayland Date: 2009-03-05 06:58:38 +0100 (Thu, 05 Mar 2009) New Revision: 25698 Modified: docs/Perl6/Spec/S32-setting-library/Any.pod docs/Perl6/Spec/S32-setting-library/Scalar.pod Log: - Moved "defined" and "undefined" from Scalar.pod to Any.pod, as per signature - Defin