LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Frank Mittelbach <[log in to unmask]>
Sun, 7 Jul 2013 22:33:37 +0200
text/plain (28 lines)
Am 07.07.2013 19:10, schrieb Marco Daniel:
> Hi,
>
>>
>> In fact one could think of also having
>>
>> \<thing>_case:nnTF
>>
>> where the T branch is selected if you have a match (in addition to
>> executing any match code from the "n" argument).
> This sounds more logical for me and I really like this idea. I think the
> true part is mostly a message instead of a function. However for me as a
> beginner it's more consistent in a expl3 manner. ;-)
>
> So after this small discuss I vote for the following:
>
> \<thing>_case:nn_p
> \<thing>_case:nnF
> \<thing>_case:nnT
> \<thing>_case:nnTF#

something  _p:... is only supported if the we deal with true predicates 
that do not have side effects and are expandable. In other words not 
everything that has a TF variant also exists as a predicate

cheers
frank

ATOM RSS1 RSS2