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] Str.string_match raising Invalid_argument "String.sub" in gc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-08-23 (19:49)
From: Miles Egan <miles@c...>
Subject: Re: [Caml-list] standard regex package
On Thu, Aug 23, 2001 at 12:28:49PM -0700, Brian Rogoff wrote:
> The other stuff can come later. I think Markus has a very good point about 
> some distutils (Python) like facility being even more important. Once such
> a framework is in place we can have an OCaml CPAN. Last time I looked findlib 
> ran only on Unix, which is a big problem. 

I agree that a CPAN equivalent is more pressing, but I don't think regex should
be an add-on.  It's too fundamental, at least to the people coming from
'scripting' languages.

> > While were on the subject of beginner usability, it seems to me that if dynamic
> > loading of c-libraries is still a ways off, it might be nice to build the unix
> > module into the toplevel at install time.
> A better apporach might be to ape Python and the SML Basis Library by providing a 
> generic "OS" module which abstracts at least Unix/Win/Mac away. I would
> prefer this, since I feel silly using Unix.<blah> on a Windows box :-).

Yeah, "Unix" seems like a bit of an anachronism.


"We in the past evade X, where X is something which we believe to be a
lion, through the act of running." -
Bug reports:  FAQ:
To unsubscribe, mail  Archives: