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 AAA27775; Thu, 3 Oct 2002 00:59:19 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA27786 for ; Thu, 3 Oct 2002 00:59:18 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from athlon.baretta.com (r-mi214-6a241.tin.it [62.211.4.241]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g92MxH518265 for ; Thu, 3 Oct 2002 00:59:17 +0200 (MET DST) Received: from baretta.com (localhost.localdomain [127.0.0.1]) by athlon.baretta.com (Postfix) with ESMTP id BD1FE273F7; Thu, 3 Oct 2002 01:09:12 +0200 (CEST) Message-ID: <3D9B7C98.9060309@baretta.com> Date: Thu, 03 Oct 2002 01:09:12 +0200 From: Alessandro Baretta Organization: Baretta srl -- www.baretta.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: it, en MIME-Version: 1.0 To: Chris Hecker , ocaml Subject: [Caml-list] Re: views for strings (was: Pattern matching and strings) References: <4.3.2.7.2.20021002125325.02941c80@mail.d6.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Chris Hecker wrote: > >> take to make it work. Probably all it takes is some syntax-magic since >> the above can be mapped onto the following: > > > I'm wondering if you couldn't do something with views rather than > hacking enhanced string matching into caml. > Views are an interesting idea. I had not thought about it. I have to look into this, although, as you pointed out, they are probably not what I'm looking for. I want to point out that I think this string thing is not vital to Ocaml. The various regexp libraries amount to more than is necessary for any string processing task. I'd just like to have a more Camlesque way of dealing with strings than what is offered by regexps and the like. 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