On 20/09/2010, at 7:58 PM, Will Robertson wrote:

> On 20/09/2010, at 6:39 PM, Lars Hellström wrote:
> 
>> \bool_and_p:nn{<predicate 1>}{<predicate 2>}
>> \bool_or_p:nn {<predicate 1>}{<predicate 2>}
>> \bool_and_p:nnn{<predicate 1>}{<predicate 2>}{<predicate 3>}
>> \bool_or_p:nnn {<predicate 1>}{<predicate 2>}{<predicate 3>}
>> ...
>> 
>> for as long as one likes to continue that list.
> 
> It would be straightforward to add these to the syntax; there's already \bool_not_p:n and \bool_xor_p:nn.

I've just implemented these "and" and "or" functions (with :nnnn variants as well); any objections to adding them to the expl3 code?

-- Will