On Wed, 13 Aug 2008 22:49:17 +0200 Bernd Steinhauser <[EMAIL PROTECTED]> wrote: > > What are all the possible types of restriction we need to describe? > > I can think of: > > > > * if a then b > > * if a then not b > > * at least one of a b c > > * exactly one of a b c > > * at most one of a b c > > I don't think, that there is more. At least not more that would make > sense. > > Regarding the syntax, for the third case, I guess the obvious > solution would be > || ( a b c )
I don't like that. Why don't we go with labels or annotations somehow?
Labels we're already going to use for suboptions, which is a shame
because
one-of: foo bar baz
is quite nice. Possibly something like:
( foo bar baz ) [[ number-selected = exactly-one ]]
( monkey ) [[ requires = [ animals bananas ] ]]
which is a lot more user-understandable than horrid || / ^^ weirdness...
--
Ciaran McCreesh
signature.asc
Description: PGP signature
_______________________________________________ Exherbo-dev mailing list [email protected] http://lists.exherbo.org/mailman/listinfo/exherbo-dev
