Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Completeness of "Unix" run-time library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Shawn Wagner <shawnw@s...>
Subject: Re: [Caml-list] Completeness of "Unix" run-time library
On Tue, Mar 09, 2004 at 05:55:27PM +0000, Richard Jones wrote:
> On Tue, Mar 09, 2004 at 09:30:09AM -0800, Vasili Galchin wrote:
> > Hello,
> >  
> >       I have yet to finish reading through otherlibs/unix/unix.mli. I kind of consider this POSIX API support. In any case, is there is a consensus that what is in unix.mli is complete? Or does new functionality have to be added? If so, what?
> 
> No way!!  There's lots of missing stuff which could be added.  eg. off
> the top of my head, strftime(3).

<Plug>
Some missing functions from the C and POSIX standards are in my extlib
library (strftime is Time.format_time). 
http://raevnos.pennmush.org/code/extlib/

More (The numeric ones added in C99) are in the companion mathlib.
http://raevnos.pennmush.org/code/mathlib/
</Plug>

> 
> It would also be useful to have a comprehensive time / date library,
> probably outside the Unix module.  As part of the perl4caml project
> I've wrapped up Perl's Date::Parse, Date::Format and Date::Calc[1]
> modules, but a general OCaml library would be great.

Agreed. 

-- 
Shawn Wagner
shawnw@speakeasy.org

-------------------
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