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 o1FCJvZl021806 for ; Mon, 15 Feb 2010 13:19:58 +0100 Received: (qmail 20726 invoked by alias); 15 Feb 2010 12:19:52 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 15 Feb 2010 12:19:52 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx088) with SMTP; 15 Feb 2010 13:19:52 +0100 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 o1FCI42f001236 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Feb 2010 13:18:05 +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 o1EN15Kl028587; Mon, 15 Feb 2010 13:18:04 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 381682 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 15 Feb 2010 13:18:03 +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 o1FCI3XP026997 for ; Mon, 15 Feb 2010 13:18:03 +0100 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o1FCHxZ5001129 for ; Mon, 15 Feb 2010 13:18:03 +0100 Received: from morse.mittelbach-online.de (p54A860A3.dip.t-dialin.net [84.168.96.163]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0LZjFg-1O6OY80Vg4-00lyPl; Mon, 15 Feb 2010 13:18:00 +0100 Received: by morse.mittelbach-online.de (Postfix, from userid 501) id 3A0636E702; Mon, 15 Feb 2010 13:17:57 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <6EBBC8A1-0CB0-451D-AF0A-3EF2A41C0B52@YAHOO.DE> <3C45FBBF-D0F3-4C13-919D-AF69C8A6A808@gmail.com> <4B7895BF.2080805@morningstar2.co.uk> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Provags-ID: V01U2FsdGVkX1+o5ZW0/j04QAVPCCRZxapZnfLrWP/F2fj2feO nysea/kRhSH8G/9H1nGFWp0tbpsS5IEkk7EI+dbpGaLJcTgyma zCjHZoNdPqdSvQPPkQYow== X-Spam-Whitelist-Provider: Message-ID: <19321.15221.189622.454675@morse.mittelbach-online.de> Date: Mon, 15 Feb 2010 13:17:57 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Frank Mittelbach Subject: Re: Assorted suggestions pt. 1 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=5D7Q89H36p4WX0t+AtsdW7Rkpq2CocXbjmEjLnML/Jh/D5PE3azF+jWInnrVhZfTUk/lv pMaRpBVzJUL8Ov6doxEnhKzR9w+ZVHwJO9XJrswqrHIOQL9S9fcyGTzlH7fo1X3KEJalXxvxAuM1 s4yQQ==V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de X-Scanned-By: MIMEDefang 2.63 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 6279 Philipp Stephani writes: > >>> - dedicated stack and queue datatypes that hide their implementation > >> > >> Can you go into more detail about what is deficient in l3seq for this? > > > > I think we are getting at "concepts" here: something like \cs_set_eq:NN \stack_new:N \seq_new:N, ... > > Yes. This separation would perhaps be a bit clearer to the user. I read the > discussion in source3 on removing \seq_put_left in favor of \seq_push, but > with a stack datatype (which would be rather trivial) we would have the > same situation as in C++: A deque as a container (a L3 seq is in fact > similar to a deque because you can add elements at both ends, but not in > the middle, as opposed to vectors and lists), and stack and queue as > container adaptors. However, this is a purely design decision (Python, for > example, has no dedicated stack datatype). at some point in time there has been a separate stack module but we decided not to keep that separation. As mentioned it is largely a design/philosophical question and I think we should leave it as it is. frank >