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-27 (15:35)
From: Brian Rogoff <bpr@b...>
Subject: Re: [Caml-list] standard regex package
On 27 Aug 2001, Ian Zimmerman wrote:
> Brian> A better apporach might be to ape Python and the SML Basis
> Brian> Library by providing a generic "OS" module which abstracts at
> Brian> least Unix/Win/Mac away. I would prefer this, since I feel
> Brian> silly using Unix.<blah> on a Windows box :-).
> Surely you _don't_ mean the LCD of Unix/Win/Mac, 

That's exactly what I mean. 

> and throwing out all the APIs which are specific to Unix but _so_ darn
> useful?  

Please read my reply to Gerd. I'm not suggesting throwing away anything,
in fact I suggest adding stuff. In case it wasn't clear, I meant to have a 
high level "LCD" module for generic OS stuff (call it GenerOS, or VirtuOS 
for virtual OS :), *and* have Unix, Windows, Mac, BeOS, Amiga (OK,
now I'm just being silly :) modules for those APIs. If you really want to 
get extreme there could be multiple Unix modules for each Unix variation, 
and multiple Windows and Mac modules for each variation of those OSes, but 
I think OS, Posix, Windows, Mac, etc should be sufficient. 

> Why do you think I am a GNU/Linux user in the first place?

Honestly, I haven't spent much time pondering the matter. :-)

-- Brian

Bug reports:  FAQ:
To unsubscribe, mail  Archives: