Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] unix.chop_extension
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-28 (11:23)
From: Alex Baretta <alex@b...>
Subject: Re: [Caml-list] unix.chop_extension
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.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: