Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id s8L5eAkl005331 for ; Sun, 21 Sep 2014 07:40:11 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx106) with ESMTPS (Nemesis) id 0MaDLA-1XkuuC2SKG-00JquD for ; Sun, 21 Sep 2014 07:40:04 +0200 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 s8L5bZRt025115 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 Sep 2014 07:37:35 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s8KM13OX024182; Sun, 21 Sep 2014 07:37:35 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 11288230 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 21 Sep 2014 07:37:35 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s8L5bYg5030367 for ; Sun, 21 Sep 2014 07:37:34 +0200 Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id s8L5bOCO025079 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Sun, 21 Sep 2014 07:37:27 +0200 Received: by mail-pa0-f46.google.com with SMTP id kx10so2523879pab.5 for ; Sat, 20 Sep 2014 22:37:23 -0700 (PDT) X-Received: by 10.66.191.7 with SMTP id gu7mr15550138pac.32.1411277843549; Sat, 20 Sep 2014 22:37:23 -0700 (PDT) Received: from [192.168.0.9] ([101.166.11.86]) by mx.google.com with ESMTPSA id ee5sm5870490pbc.76.2014.09.20.22.37.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 20 Sep 2014 22:37:22 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) References: <54167155.9070304@clear.net.nz> <541693B5.2000103@morningstar2.co.uk> X-Mailer: Apple Mail (2.1878.2) X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id s8L5bYg5030368 Message-ID: <04AB1E15-D7E1-4395-B2BD-046C3DEC0846@gmail.com> Date: Sun, 21 Sep 2014 15:10:21 +0930 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Will Robertson Subject: Re: Generalising \cs_generate_variant To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <541693B5.2000103@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by relay.uni-heidelberg.de id s8L5bZRt025115 Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:w0nr43gTow0=:/RW39t5XNwzknbrX1l6VPw9ykb HsWtkDoCyfhOAbpyKPGCom0ITqX5hGlMIs9pMQzdVlrOrwgDUuxATXfGwHWFhIil8ET5p1qAE jAarV0NRGZqOi65yM+a6tkcvjAMOJCOOmvBCuN6sY22DlZfwucz5qfxUm55eeUlND0nBIvllc hu+AddF+Ft1l2x7gg0qN5GZLzt4yq8aXo8Derwcqh1HKMqOModkIW/IAWvJ4ZksL1zs9tc6f2 WFHiF1zUbX19uVLCqpDTPehab/0Es3q0GhR6iW6rXL1ecRtIn7DCyWtwIA9h2eZ2KMhoXz6hB yqMybtRYBfxFs8VRV1uYBzBl0b9SzjZ7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kskgCiv8T/auUJjJi4iIPXYnC1mkWZ2Dr4cR38OUTlPXRFJOIv0RNjSabMKNj Aij0ziKos86cM8c2DGaUHkeGNSTLcNCRLNhtpLRR6k7yz/Xl/3 X-UI-Loop:V01:vcPbuQMFI1s=:Qh57R7BwU2iqJfggtPayn9qqMdmLiJ8YWffq4lODxv4= X-UI-Out-Filterresults: notjunk:1; Status: R X-Status: X-Keywords: X-UID: 7597 On 15 Sep 2014, at 4:52 pm, Joseph Wright wrote: > I don't remember any technical reasons for not doing this: I guess > primarily we've not needed it often enough. I think this was discussed back when I first came on board years ago, and= naming complexity / interface simplicity relegated it to the chopping ro= om floor. This was probably before we even had selection of conditions in= the {p,TF,T,F} style argument. > Probably this would go into \prg_... as it's only applicable to > conditionals (we have \prg_new_eq_conditional:NNn and > \prg_set_eq_conditional:NNn). I guess something like > \prg_generate_conditional_variant:Nnn would be an appropriate name. I think another complaint I had at the time was that =93\prg_generate_con= ditional_variant:Nnn=94 is a pretty big mouthful of a command, but that=92= s minor :) I don=92t think we could come up with a shorter and better nam= e but any ideas? Cheers, Will