Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.

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