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
Show All Mail Headers

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

Print Reply
Subject:
From:
Joseph Wright <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Tue, 16 Sep 2008 06:56:12 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
Will Robertson wrote:
> Hi,
> 
> I've been thinking more about this.
> Just so we're clear, what you're looking for is a function that can be
> given a token list and return true or false depending if, without
> expansion, the list contains a quark.

I was thinking on a much less grand scale.  Currently, you can test if
tlp contains a quark (usually q_no_value).  However, the moment you
create a second quark to indicate something else (lets say
q_value_required) you always need two tests.  If you have more
possibilities, the number of tests rises.  Of course, you are probably
using these quarks separately, but in some places you may need a simple
"Is it a quark? yes/no" test.

My thinking is that trying to see if a tlp contains a quark + something
else is a bit too complicated.  It is really down to the programmer to
watch for that.
-- 
Joseph Wright

ATOM RSS1 RSS2