From: skaller <sk...@us...> - 2004-12-17 07:39:05
|
On Thu, 2004-12-16 at 20:47, Bardur Arantsson wrote: > 2) Path manipulation: An extended and "regularized" (think > 'principle of least surprise') version of Filename. > > In fact, I have a "Path" module up at > > http://www.imada.sdu.dk/~bardur/personal/45-programs/index.html > (search for "ocaml-path") I guess this is the best around: http://webperso.easyconnect.fr/gildor/ocaml-fileutils.html It supports MacOS, Windows, Cygwin and Unix using functors, one of which is the host system. Documentation here: http://webperso.easyconnect.fr/gildor/ocaml-fileutils/index.html AUTHOR: Sylvain LE GALL <syl...@po...> ---------------- ocaml-fileutils. ---------------- This library is intended to provide a basic interface to the most common file and filename operation. It provides different filename function : reduce, make_absolute, make_relative... It also enables to manipulate real file : cp, mv, rm, touch... It is separated in two modules : SysUtil and SysPath. The first one manipulate files ( real one ), the second one is made for manipulating abstract filename. -- John Skaller, mailto:sk...@us... voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net |