Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id r61M89pa021680 for ; Tue, 2 Jul 2013 00:08:10 +0200 Received: from relay2.uni-heidelberg.de ([129.206.210.211]) by mx-ha.gmx.net (mxgmx102) with ESMTP (Nemesis) id 0LkAgY-1UNBXS1Ft4-00cDmW for ; Tue, 02 Jul 2013 00:08:04 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id r61M5UL0007882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Jul 2013 00:05:31 +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 r61M18Vw022710; Tue, 2 Jul 2013 00:05:30 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 10210000 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 2 Jul 2013 00:05:30 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id r61M5U90023961 for ; Tue, 2 Jul 2013 00:05:30 +0200 Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id r61M5MZT007846 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Tue, 2 Jul 2013 00:05:24 +0200 Received: by mail-wi0-f169.google.com with SMTP id c10so4557120wiw.4 for ; Mon, 01 Jul 2013 15:05:22 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.180.96.227 with SMTP id dv3mr13575271wib.59.1372716322290; Mon, 01 Jul 2013 15:05:22 -0700 (PDT) Received: by 10.194.241.165 with HTTP; Mon, 1 Jul 2013 15:05:22 -0700 (PDT) References: <51D121F7.9050308@morningstar2.co.uk> Content-Type: text/plain; charset=UTF-8 X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id r61M5U90023962 Message-ID: Date: Mon, 1 Jul 2013 18:05:22 -0400 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: "Joel C. Salomon" Subject: Re: Defining \bool_case:nn To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <51D121F7.9050308@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 relay2.uni-heidelberg.de id r61M5UL0007882 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:lGvPdwf1mCg=:EJZQ6eziwrxKYG4UB5wURH tPudoa4xMi0yKdMeDHiOsg9SgxRq9Bl61hTxzJvVce0ZZn+ne/eiTftKPbZyZXDBD/gT/nM VRusw6tvHA+MuW6jtvni3rT1ST+zwSXkPKWwy76e11fCGIoRFIQEM35/l7fLLj3w3CMjHIv vgKkOH55zqkZTMRln8qU3igXn6h41jwu8oCuYybI8fcMZaqyu8TrDiBkJPAm5m946qfl7qt iHboiSagKgDRCoOfdM64sTeVeSCJ1at1dzQLWl7GVoB4L82jD8MucgDpJ+bfr6omyfREeBO vCAPTmZCd+NoaAJN9kYvR49evZ0OlBKb+8GpD2EWXuuEWfRuLUIe0rpElIsBUvcRh5nRhLD kNBrhJHqj6glie/ab3kMd/zVfxzzfgUw2erWz+d9oF0wolMc5TNyE/wKyWNN2hJkxNHma/p 0e7s4NuJdcUNmG819oHvQG4sYfDttTBKpZaRtuk5kEwYSbrTiA2s9ckifvfMF4kOG3RayXX hOFGVP255AJ1vtDQ4zJLxf5MsEB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jeRmVzHfKBPRYk8lOfbT7wMvTsOWBV3eFidBUTc= X-UI-Loop:V01:E+bYUnGlswI=://WeNUl0htOR850B6TE4FvKxwfF9tqfk4GRAgKWqS90= Status: R X-Status: X-Keywords: X-UID: 7211 On Mon, Jul 1, 2013 at 2:30 AM, Joseph Wright wrote: > I'm not sure I see the need for this. In the other 'case' functions, at > most exactly one case can be true > However, in \bool_case:nn you stop at the first case that happens to be > true. That means that order matters for the result, which isn't what > happens in the other case functions. I=E2=80=99ve invited A. Ellett (the fellow who requested \bool_case on Te= X.SE) to join this thread and explain, but my guess would be that he's got a group of booleans, only one of which is supposed to be set at any given time: a selection from a set of mutually-exclusive options, for example. =E2=80=94Joel