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 q12HDSXb016207 for ; Thu, 2 Feb 2012 18:13:29 +0100 Received: (qmail 14062 invoked by alias); 2 Feb 2012 17:13:23 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 02 Feb 2012 17:13:23 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx044) with SMTP; 02 Feb 2012 18:13:23 +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 q12HAUkK030187 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Feb 2012 18:10:30 +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 q12FU315005897; Thu, 2 Feb 2012 18:10:29 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 2059464 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 2 Feb 2012 18:10:29 +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 q12HATuY011292 for ; Thu, 2 Feb 2012 18:10:29 +0100 Received: from csep02.cliche.se (csep02.cliche.se [195.249.40.184]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id q12H9E2q017908 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 2 Feb 2012 18:09:19 +0100 Received: from client235-205.wireless.umu.se (client235-205.wireless.umu.se [130.239.235.205]) by csep02.cliche.se (Postfix) with ESMTP id 7BD69186627 for ; Thu, 2 Feb 2012 18:09:12 +0100 (CET) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.22) Gecko/20110902 Thunderbird/3.1.14 MIME-Version: 1.0 References: <20120202102957.GB14566@csmvddesktop> <4F2A68F9.1010508@morningstar2.co.uk> <20120202111808.GA15304@csmvddesktop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id q12HATuY011293 Message-ID: <4F2AC338.2060505@residenset.net> Date: Thu, 2 Feb 2012 18:09:12 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: =?ISO-8859-1?Q?Lars_Hellstr=F6m?= Subject: Re: Mapping Functions Versions for All and Some 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 (eXpurgate); Detail=5D7Q89H36p6sJLDpZh614LdjtwLz6vwINneTv+3OwsL2fU0SSWPA6EStvKM330H2UbrOQ j4KWOQStgKAfPUTSuQ4OVSK5nFfRDYxAvL/B8mNyBK8ovhccNj2CRYaqXyFmC196Ao1Hm78uoz1r Zg4re3SkhzVA14kGrniQhlQnUBpvjuh+rPKai4G6nMshzqVczZkIQBgXns=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: 7008 Bruno Le Floch skrev 2012-02-02 13.32: > I've been wondering: should it be called "regex" or "regexp"? My preference is for "regexp", but I can see it might by now be a bit awkward to change it. > Like Joseph, I don't see how useful the functions you propose are. Do > you have a precise use case? Imprecisely, I suspect one might find such predicates useful when about to choose between two methods of doing something: one which is quick, but only works in the (common) simple case, and one which is general but slow. Whether that happens frequently enough for them to be put in the kernel is another matter. Lars Hellström PS: Since I'm posting anyway, I suppose I should mention this too in case anyone is interested: After my autumn experiments with Church booleans, I went on to implement a fully expandable package for to mappings using 2-3-trees. I didn't quite finish it before getting sidetracked by other projects (in this case, actual research), but insertion of entries is there and works. Next would have been popping off entries; together the two would suffice for making a prioriqueue, which I would imagine can be useful in places.