On Sun, 4 Jan 2009 21:34:18 +0530
"Nirbheek Chauhan" <nirbheek.chau...@gmail.com> wrote:
> How about this:
> 
> New syntax            Expanded syntax
>                 Extension of
> --------------------------------------------------------------------------------------------------------
> pkg[foo?bar]           foo? ( cat/pkg[bar] ) !foo? ( cat/pkg )
>          cat/pkg[foo?]
> pkg[!foo?bar]          foo? ( cat/pkg ) !foo? ( cat/pkg[bar] )
>          cat/pkg[foo?]
> pkg[foo=bar]           foo? ( cat/pkg[bar] ) !foo? ( cat/pkg[-bar] )
>       cat/pkg[foo=]
> pkg[!foo=bar]          foo? ( cat/pkg[-bar] ) !foo? ( cat/pkg[bar] )
>       cat/pkg[!foo=]
> 
> IMO, this is simple enough to understand, and use :)

It's utterly useless. Unlike the existing shortcut forms, what you're
after isn't widely enough used to warrant its own shortcut. Use the
expanded form and have done with it.

-- 
Ciaran McCreesh

Attachment: signature.asc
Description: PGP signature

Reply via email to