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
Managing module names
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1997-07-23 (07:56)
From: David Monniaux <monniaux@c...>
Subject: Re: Managing module names
[En Francais: pourquoi ne pas profiter du systeme de fichiers pour
rendre plus souple l'usage de la hierarchie de modules?]

Concerning the module namespace:
as far as I know, Java uses some mapping of the namespace onto the
filesystem, allowing easy filing of libraries.

Caml has a hierarchized modules system, but only allows toplevel
modules to be mapped into files.

Would it be possible to make up some scheme that would to things like:
/graphics/blackwhite/main -> Graphics.Blackwhite.Main ?

Or, better: would it be interesting according to other users?

David Monniaux, graduate student from ENS Lyon, France
Now at: Computer science laboratory  SRI International
        Formal methods group         Menlo Park, CA, US