Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Sat, 29 Nov 2008 16:47:55 +0100 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id mATFlr0n008568 for ; Sat, 29 Nov 2008 16:47:54 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id mATFhYmk027531 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 29 Nov 2008 16:43:34 +0100 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id mASN1LDm028930; Sat, 29 Nov 2008 16:43:22 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 171384 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sat, 29 Nov 2008 16:43:22 +0100 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id mATFhMfc000361 for ; Sat, 29 Nov 2008 16:43:22 +0100 Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.246]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id mATFhKV4007452 for ; Sat, 29 Nov 2008 16:43:24 +0100 Received: by rv-out-0708.google.com with SMTP id c5so1787822rvf.10 for ; Sat, 29 Nov 2008 07:43:16 -0800 (PST) Received: by 10.141.136.4 with SMTP id o4mr4318694rvn.90.1227973396914; Sat, 29 Nov 2008 07:43:16 -0800 (PST) Received: from ?10.0.1.100? (122-49-160-236.ip.adam.com.au [122.49.160.236]) by mx.google.com with ESMTPS id b8sm3552773rvf.3.2008.11.29.07.43.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 29 Nov 2008 07:43:15 -0800 (PST) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) References: <27990a880811191758x2a29ecb4m33d2dcead1f32093@mail.gmail.com> <859ec5630811200508x17ef357dvc7cf352f5bc1031f@mail.gmail.com> <492E623B.1090300@morningstar2.co.uk> <492F05D6.3060103@morningstar2.co.uk> <1F3BAD8F-E4CF-4110-8D8E-50B31B47FB22@gmail.com> <492FA9B7.5040802@morningstar2.co.uk> X-Mailer: Apple Mail (2.929.2) X-Spam-Whitelist: Message-ID: <4C0CDB59-A850-4DDF-8F4D-7265ECEC4FBB@gmail.com> Date: Sun, 30 Nov 2008 02:13:08 +1030 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Will Robertson Subject: Re: \exp_after:NN To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <492FA9B7.5040802@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -2.599 () BAYES_00 X-Scanned-By: MIMEDefang 2.64 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 29 Nov 2008 15:47:56.0032 (UTC) FILETIME=[D8C74000:01C95239] Status: R X-Status: X-Keywords: X-UID: 5483 Hello, Bit of a slow (but hasty) reply :) On 28/11/2008, at 6:50 PM, Joseph Wright wrote: >> E.g., >> \tlist_if_in_TF:nn { }{ } { }{ } > > Speaking from my own experience, I quite like the :T, :F, :TF idea. > The > problem with the above is that \tlist_if_in_TF:nn needs four > arguments, > so it should really be \tlist_if_in_TF:nnnn. That's true, and not as concise. > I think it is then much > harder to see what is going on. So if it were down to me I'd keep the > T/F idea, although I'd aim for lower case as these can take braced > arguments. On the other hand, as exceptions, 'F' and 'T' stand out a little bit more than if they were lowercase :) But yes, in general I think it's better to keep them on the "right" of the ':'. >> (Although I suppose there's no reason we couldn't currently write >> \bool_double_if:NN_TT_TF_FT_FF ) > > Why not just \bool_if:NN_TT_TF_FT_FF? A slight abuse of the system, > but > this is one of those edge cases where flexibility is needed. Good idea, I think. >> While we might be able to create a better system than we've got >> now, is >> it worth it? > > Once again, if it were down to me I'd not make more changes than are > really needed. In that sense, this entire discussion could be > somewhat > redundant: things already work reasonably well. Yes, I agree! > I'd still argue that > \exp_after:NN is not representative of what it does, so using the > current specifiers would prefer \exp_args:NE. That change at least > should be relatively easy. Well, I think writing it as \exp_after:wN is "most correct", but in the end I hope that we shouldn't really be using it much in expl3 programming. > If other changes are made, I'd suggest that there will be something > of a > "knock on" effect, and so it is only worth doing if the entire > result is > more logical (e.g. just changing f => s is not worth it). Indeed; we should be very sure the new system is actually "better" and we're not just changing things for the sake of it. > Of course, I > think my suggestion is not bad :-) I think both your suggestions and Morten's are quite useable for our needs; I don't have much opinion between the two. As Frank always says "language design isn't easy" :) W