Patrick R. Michaud wrote:
> On Wed, Sep 17, 2008 at 08:37:36PM +0800, Chris Davaz wrote:
>> I am confused about how we should setup method signatures:
>>
>> Let's take a look at a line in any-str.pir:
>>
>> 46 .sub 'comb' :method :multi(_)
>> 47 .param pmc regex
>> 48 .param int count
On Wed, Sep 17, 2008 at 11:48:54PM +0800, Chris Davaz wrote:
> That's a great response, thanks. Clears things up. One question, should be
> always be using _ for the invocant or should we try to restrict it?
I suggest always using _ for the invocant, at least for now.
Pm
That's a great response, thanks. Clears things up. One question, should be
always be using _ for the invocant or should we try to restrict it?
On Wed, Sep 17, 2008 at 10:52 PM, Patrick R. Michaud <[EMAIL PROTECTED]>wrote:
> On Wed, Sep 17, 2008 at 08:37:36PM +0800, Chris Davaz wrote:
> > I am con
On Wed, Sep 17, 2008 at 08:37:36PM +0800, Chris Davaz wrote:
> I am confused about how we should setup method signatures:
>
> Let's take a look at a line in any-str.pir:
>
> 46 .sub 'comb' :method :multi(_)
> 47 .param pmc regex
> 48 .param int count:optional
> 49 .param i
I am confused about how we should setup method signatures:
Let's take a look at a line in any-str.pir:
46 .sub 'comb' :method :multi(_)
47 .param pmc regex
48 .param int count:optional
49 .param int has_count:opt_flag
As you can see we have one parameter specified in