From: Kevin Ballard Date: Thu, 09 Dec 2010 02:02:40 GMT Subject: Re: [PATCH 0/2] [RFD] Using gitrevisions :/search style with other operators Message-ID: <192758EC-4276-445D-B1D5-284073D5AB32@sb.org> In-Reply-To: <20101209015926.GA31119@burratino> On Dec 8, 2010, at 5:59 PM, Jonathan Nieder wrote: > Jakub Narebski wrote: > >> You would need HEAD{^{/foo}^@}x3, or use special rule that HEAD^{/foo}x2 >> means really HEAD^{/foo}^@^{/foo}, with ^@ used to join them. > > That said, does ^2x500 really do something meaningful that a person > would ever need? I like the > > ^{:nth(3)/foo} > > syntax because perl6 supports m:nth(3)/foo/, suggesting a menu of > already-defined modifiers to implement when they prove useful, known > already to a certain subset of the audience and proven useful already > in a different context. I like the ^{:nth(3)/foo} syntax as well. Though I'm not familiar with Perl 6, this does have the benefit of being fairly obvious to the reader as to what it means. -Kevin Ballard