From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA15372; Fri, 28 May 2004 13:23:14 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA15404 for ; Fri, 28 May 2004 13:23:13 +0200 (MET DST) Received: from alex.baretta.com ([213.255.109.130]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i4SBNCEV010914 for ; Fri, 28 May 2004 13:23:12 +0200 Received: from baretta.com (localhost.localdomain [127.0.0.1]) by alex.baretta.com (8.12.8/8.12.8) with ESMTP id i4SBNeJn002314; Fri, 28 May 2004 13:23:41 +0200 Message-ID: <40B7213C.3070306@baretta.com> Date: Fri, 28 May 2004 13:23:40 +0200 From: Alex Baretta User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: it, en-us, en MIME-Version: 1.0 To: Richard Jones , "caml >> Ocaml" Subject: Re: [Caml-list] unix.chop_extension References: <1085429093.6065.336.camel@pelican.wigram> <20040526110508.A17806@pauillac.inria.fr> <40B47D9D.1050007@baretta.com> <20040526164308.GA22145@redhat.com> In-Reply-To: <20040526164308.GA22145@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 40B72120.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; baretta:01 baretta:01 caml-list:01 chop:01 2004:99 api:01 pcre:01 pcre:01 api:01 regexp:01 ocaml:01 ocaml:01 alex:01 alex:01 0200,:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Richard Jones wrote: > On Wed, May 26, 2004 at 01:21:01PM +0200, Alex Baretta wrote: > >>Actually, I'm a happy user of Str, but I find the absence in Ocaml of a >>functional "canonical" regexp feature striking. > > > I'm fascinated to know what this "functional" API would look like. I > use Pcre and it doesn't appear to have any global internal state > AFAICS ... > > Rich. > I simply don't know PCRE well enough to discuss it. I'm not arguing in favor or against any specific API. I just observed that it is striking the the support available in the core ocaml distribution has a procedural API rather than a functional one. This does not imply that Str is any worse or better than PCRE. Alex ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners