On Mon, Nov 27, 2006 at 12:17:13PM +0000, Richard Jones wrote:
> On Mon, Nov 27, 2006 at 11:49:33AM +0200, Johann Spies wrote:
> > In fileUtil.mli I get:
> > module type FILE_UTILS =
>
> It's confusing isn't it ... Here FileUtil.FILE_UTILS is a module
> type, not an actual module. A module type is just a signature
> (similar to an "interface" in Java) which defines the type of the
> functions and values in the module, but doesn't actually contain any
> code to implement those functions.
>
> I had to go and look at Sylvain's code to see that this module type is
> actually implemented by various concrete modules, including
> FileUtil.StrUtil
> (http://sylvain.le-gall.net/ocaml-fileutils/FileUtil.StrUtil.html), so
> you would, it seems, need to use FileUtil.StrUtil.ls, or one of the
> other concrete modules.
Thanks.
Regards
Johann
--
Johann Spies Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch
"Thou, even thou, art LORD alone; thou hast made
heaven, the heaven of heavens, with all their host,
the earth, and all things that are therein, the seas,
and all that is therein, and thou preservest them all;
and the host of heaven worshippeth thee."
Nehemiah 9:6
.