duplicate list messages -- summarizer, ignore

2006-02-12 Thread Darren Duncan
The last 2 messages I got from p6l were duplicated, the ones from Yiyi and chromatic, but the message is only addressed to the list once, and not addressed to any other recipients. The problem seems server side, as both my email box and the archive at http://nntp.perl.org/group/perl.perl6.lang

Re: Instance attributes collision

2006-02-12 Thread chromatic
On Sunday 12 February 2006 17:11, Yiyi Hu wrote: > For perl 6, > Array and Scalar are in different namespace. > So, > class A { has $.a; has @.a }; > > what will A.new.a return by default? > > An Error? or Scalar has a higher priority? Seems like a compile-time warning (at least) to me. -- c

Instance attributes collision

2006-02-12 Thread Yiyi Hu
For perl 6, Array and Scalar are in different namespace. So, class A { has $.a; has @.a }; what will A.new.a return by default? An Error? or Scalar has a higher priority? Thanks, xinming

Typo Alert: Synopsis 5

2006-02-12 Thread Amos Robinson
I think there's a typo in synopsis 5, "Indirectly quantified subpattern captures:" [ (\w+) \: (\w+ \h+)* \n ]**{2...} I have a feeling the \h should be *, not +.

Re: overloading the variable declaration process

2006-02-12 Thread Jonathan Lang
Thomas Sandlass wrote: > > > or maybe > > > > > > method Dog.bark () { ... } > > > > Yes that works too. > > Shouldn't that read Dog::bark? Why the dot? Because I'm not 100% with the proper syntax of things. The intent was to add a bark() method to Dog during runtime. -- Jonathan "Dataweaver"

RE: overloading the variable declaration process

2006-02-12 Thread Thomas Sandlass
Stevan Little wrote: > ^Dog is an instance of the MetaClass, while Dog (no ^ sigil) is the > "class" (actually it's a prototypical instance of the class which the > metaclass ^Dog describes, but you dont really need to know that to use > it). > > ^Dog.can(bark) # false > Dog.can(bark) # true