LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0 (Apple Message framework v1081)
Content-Type:
text/plain; charset=iso-8859-1
Date:
Mon, 20 Sep 2010 20:25:05 +0930
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Subject:
From:
Will Robertson <[log in to unmask]>
Message-ID:
In-Reply-To:
Content-Transfer-Encoding:
8bit
Sender:
Mailing list for the LaTeX3 project <[log in to unmask]>
Parts/Attachments:
text/plain (18 lines)
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

ATOM RSS1 RSS2