On Fri, Feb 6, 2026, at 4:05 PM, Bob Weinand wrote:
> I'd like to search for appropriate words...

You were apparently unsuccessful.

> On 6.2.2026 21:30:11, Larry Garfield wrote: 
>> Sure, but we can fiddle with the details to find something that works.  I 
>> also suggested something like these to Arnaud off-list:
>> 
>> (?: Test)->stuff(?);
>> (Test ?)->stuff(?);
>> ((Test)?)->stuff(?);
>> 
>> --Larry Garfield 
>
>
> Could you please not push this garbage.

As stated repeatedly, this is just idiating on possible syntaxes that allow for 
an abbreviated form when the object is the only thing being partialed.  If you 
don't like the ideas thrown out so far, please share your own rather than 
getting insulting.

My original plan was to use `$$->foo(3, 4)`, which would always produce a 
single-parameter closure that would invoke `foo(3, 4)` on whatever object was 
passed to it.  I was not involved in this RFC from Arnaud and Tim, but I'm 
trying to look for ways to improve it so that it can cover the most common use 
case better.

I very much support the idea, but I don't think I would vote Yes on the current 
syntax.  It's far too cumbersome for the most common case.

Assistance finding a syntax that would satisfy all presented situations would 
be more welcome than calling brainstorming "garbage."

--Larry Garfield

Reply via email to