Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id p2LECDuS028439 for ; Mon, 21 Mar 2011 15:12:14 +0100 Received: (qmail 415 invoked by alias); 21 Mar 2011 14:12:08 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 21 Mar 2011 14:12:06 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx098) with SMTP; 21 Mar 2011 15:12:06 +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 p2LE9rXW002254 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Mar 2011 15:09:53 +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 p2LE6Agp004135; Mon, 21 Mar 2011 15:09:50 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1328003 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 21 Mar 2011 15:09:50 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p2LE9oY9029069 for ; Mon, 21 Mar 2011 15:09:50 +0100 Received: from mail-iw0-f177.google.com (mail-iw0-f177.google.com [209.85.214.177]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p2LE9hop002133 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL) for ; Mon, 21 Mar 2011 15:09:48 +0100 Received: by iwn36 with SMTP id 36so10236732iwn.22 for ; Mon, 21 Mar 2011 07:09:42 -0700 (PDT) Received: by 10.42.138.195 with SMTP id d3mr6723698icu.241.1300716582414; Mon, 21 Mar 2011 07:09:42 -0700 (PDT) Received: from [10.0.1.105] (114-30-115-229.ip.adam.com.au [114.30.115.229]) by mx.google.com with ESMTPS id i20sm3734638iby.48.2011.03.21.07.09.30 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Mar 2011 07:09:32 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) References: <905C5ED0-6639-4DEB-95AC-A2FCB2C4491D@gmail.com> <935A1EA2-C971-4A3A-8DF4-6F890E0CFB32@gmail.com> <5256FD2C-CD53-4FF0-A405-5B8B2781E5EC@gmail.com> <19843.17637.935263.780194@morse.mittelbach-online.de> <19843.47932.785350.652072@morse.mittelbach-online.de> <7F71B7CB-A004-49DC-B178-D9CF58DA93A2@gmail.com> X-Mailer: Apple Mail (2.1081) X-Spam-Whitelist: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id p2LE9oY9029070 Message-ID: <08C15662-D17F-41A5-9709-CE0C244BF398@gmail.com> Date: Tue, 22 Mar 2011 00:39:27 +1030 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Will Robertson Subject: Re: expl3's seq_pop_right etc. To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p4U4jfdfC5HDevlx1X2sAZg1MkugZcpwIdDb8z5l6KEaP+LdZ7QLw+5CKzyp k5HTLZ1v8wPRqFdQdQapWq9qz59Rr52fCiljKsM85i3sbXAJVBjnzZkoSL42zBmmwDa5vja6zT3o 7boow==V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 6698 On 21/03/2011, at 11:00 PM, Bruno Le Floch wrote: > Another question I noticed is whether mappings should be made nestable > or not. I _think_ that \seq_map_function:NN is nestable, and that > \seq_map_inline:Nn and \seq_map_variable:NNn are not. All three can be > made expandable, I believe. Should they? Indeed they should. I ran into this problem just the other day and left a note to come back to this issue :) > A modus operandi to easily switch to the proposed l3seq would be first > to get rid of all the explicit \seq_elt:w ... \seq_elt_end:, for > instance by replacing \seq_show:N by \seq_display:N in testfiles, and I've actually wondered if \seq_show:N is really needed at all, but we've never come up with a good enough argument to drop it completely in favour of \seq_display:N. I've updated a small handful of test cases to use \seq_display:N instead, but there are many more examples that use \meaning (etc.) that probably need adjusting. > replace ad hoc constructs by some \..._map_inline where possible. It's just a few in xor, right? Looking in say \xor_save_area_info:n, perhaps all it needs is for \seq_elt:w and \seq_elt_end: to be \protected, and then their reassignment to \relax could be avoided. Haven't tried, though. > If something slightly more advanced (e.g. some things in Will's > version of the NFSS) is needed, I'm happy to code two versions: > - with \seq_elt:w ... \seq_elt_end: now, so that everything is in > l3seq (or l3candidates) > - with \seq_elt:n for later when/if we switch. I have to admit I'm more comfortable to first expand what we've currently got (extra functions, smooth over some extra edge cases, etc.) and then consider switching to a different internal format after the first stage is complete. But if we adjust these test cases and it seems that switching to the new internal format "just works", then I'm open to diving in head-first so to speak. 'Night, -- Will