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
Invoking the standard library ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Eric Cooper <ecc@c...>
Subject: Re: [Caml-list] Invoking the standard library ?
On Wed, Apr 30, 2008 at 09:51:00AM +0200, Christophe Raffalli wrote:
> A very simple solution (that I use for PML) would be to change ocaml
> so that a directory in the path is considered as a module whose
> fields are the modules and directory inside it ... This allows two
> files to have the same name and depending if you open or not the
> module/directory containing an extended string library, you can
> access by open String the original or the extended module.

I like this approach -- very elegant.

Eric Cooper             e c c @ c m u . e d u